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
Can you please explain the difference between syntax vs logical error?
Write a program to print numbers from 1 to 100 without using loop in c?
What are the differences between Structures and Arrays?
Explain the properties of union. What is the size of a union variable
How many header files are in c?
How can I change the size of the dynamically allocated array?
Are negative numbers true in c?
How are pointers declared in c?
How can I split up a string into whitespace-separated fields?
What do you mean by command line argument?
Do pointers take up memory?
What does static variable mean in c?
Is c compiled or interpreted?
What is f'n in math?
What is LINKED LIST? How can you access the last element in a linked list?