char S;
char S[6]= " HELLO";
printf("%s ",S[6]);
output of the above program ?
(0, ASCII 0, I,unpredictable)
Answer Posted / divakar & venkatesh
u will get the following error
conflicting types for 'S'
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the advantages and disadvantages of a heap?
Why c is called procedure oriented language?
I have seen function declarations that look like this
Is null valid for pointers to functions?
What is int main () in c?
How many types of functions are there in c?
What is meant by type casting?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
pierrot's divisor program using c or c++ code
What is the purpose of the preprocessor directive error?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
define string ?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Can we initialize extern variable in c?
What’s a signal? Explain what do I use signals for?