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 is an lvalue in c?
How do you redirect a standard stream?
Are pointers really faster than arrays?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What is atoi and atof in c?
What are the benefits of organizational structure?
What is #include stdio h?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What is pragma in c?
List the different types of c tokens?
Explain output of printf("Hello World"-'A'+'B'); ?
I came across some code that puts a (void) cast before each call to printf. Why?
What does int main () mean?
Is file a keyword in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??