char S;
char S[6]= " HELLO";
printf("%s ",S[6]);

output of the above program ?
(0, ASCII 0, I,unpredictable)

Answer Posted / prasanth

IT`LL SHOW AS MULTIPLE DECLATION FOS S AND WE`LL NOT OBTAIN
THE OUTPUT

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of sizeof () in c?

547


please explain every phase in the "SDLC" in the dotnet.

2173


What is conio h in c?

611


What is the difference between fread and fwrite function?

629


What is the difference between functions getch() and getche()?

612






PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1460


Why c is called top down?

616


How does #define work?

638


Tell me when would you use a pointer to a function?

594


What are the types of c language?

543


What are extern variables in c?

538


Can you please explain the difference between strcpy() and memcpy() function?

591


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

545


What is static and auto variables in c?

551


What is getch() function?

638