#include<stdio.h>
main(0
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}
Answer Posted / nithya
the above code output is
syntax error
this code will be change from
#include<stdio.h>
main()
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}
the out put is
222
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What 'lex' does?
What is variable in c example?
What is the use of #include in c?
Why functions are used in c?
Explain what is output redirection?
How we can insert comments in a c program?
Write a program to reverse a string.
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Differentiate between a structure and a union.
What is the difference between memcpy and memmove?
What is the value of h?
Why does notstrcat(string, "!");Work?
What is extern storage class in c?
Which type of language is c?
What is the purpose of void pointer?