Sunday 5 February 2012

C string questions and answers with explanation














String questions in c interview

Answer and explanation of questions are based
on turbo c 3.0 compilers. Answer and explanation may vary in other compilers.


1.




What will be output when you will execute following c code?


#include

void main(){

    char arr[7]="Network";

    printf

No comments:

Post a Comment