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

In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

777


What is difference between far and near pointers?

617


Explain what are binary trees?

617


What is data types?

646


Explain how can a program be made to print the line number where an error occurs?

701






How do you determine whether to use a stream function or a low-level function?

663


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

662


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

657


What is a char c?

600


What is c language and why we use it?

629


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

649


Is malloc memset faster than calloc?

627


find out largest elemant of diagonalmatrix

1653


What is the difference between near, far and huge pointers?

638


How can I prevent another program from modifying part of a file that I am modifying?

621