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

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

Answer Posted / vrushali

The answer is unpredictable....

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

606


How can I find out the size of a file, prior to reading it in?

610


Explain how do you use a pointer to a function?

631


Write a program to reverse a linked list in c.

633


how logic is used

1490






What are loops in c?

542


What is a struct c#?

593


can anyone please tell about the nested interrupts?

1670


What is int main () in c?

615


What is the difference between constant pointer and constant variable?

739


What is a union?

601


What is difference between scanf and gets?

602


explain what are pointers?

610


What is an auto keyword in c?

631


Why is c called c not d or e?

600