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
What are the features of the c language?
find the sum of two matrices and WAP for it.
I heard that you have to include stdio.h before calling printf. Why?
Why do we use main function?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
What are dangling pointers? How are dangling pointers different from memory leaks?
Write a progarm to find the length of string using switch case?
Explain how do you list a file’s date and time?
How can I invoke another program or command and trap its output?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
What is getch() function?
In C language what is a 'dangling pointer'?
How can you avoid including a header more than once?
Write a program to print "hello world" without using a semicolon?
How to draw the flowchart for structure programs?