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
What is d'n in c?
Why calloc is better than malloc?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
can we implement multi-threads in c.
Do pointers store the address of value or the actual value of a variable?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
int i=10; printf("%d %d %d", i, i=20, i);
Explain low-order bytes.
How can type-insensitive macros be created?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is structure padding and packing in c?
Explain how do you generate random numbers in c?
How to write c functions that modify head pointer of a linked list?
Explain the meaning of keyword 'extern' in a function declaration.