#include<stdio.h>
main(0
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}
Answer Posted / a.c.pattanaik
code is error due to declaration
if code is this
main()
{
printf("\n %d %d %d",sizeof(2),sizeof("a"),sizeof(2));
}
Ans-4 2 4
Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
Write a program to print ASCII code for a given digit.
What is the -> in c?
What are the types of data structures in c?
What are control structures? What are the different types?
Write a progarm to find the length of string using switch case?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
How many types of arrays are there in c?
Tell me with an example the self-referential structure?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What is the difference between test design and test case design?
What tq means in chat?
What are the rules for the identifier?
What is the purpose of ftell?
Is c easier than java?
Do string constants represent numerical values?