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
Is c++ based on c?
Write a program to reverse a string.
What is the return type of sizeof?
What is the default value of local and global variables in c?
Explain how many levels deep can include files be nested?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Is it acceptable to declare/define a variable in a c header?
What is a const pointer?
Differentiate between ordinary variable and pointer in c.
What does struct node * mean?
How pointers are declared?
Without Computer networks, Computers will be half the use. Comment.
What does d mean?
How do I get a null pointer in my programs?
What is a nested formula?