#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
What are header files in c programming?
Which is the memory area not included in C program? give the reason
What is graph in c?
What is meant by 'bit masking'?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Explain argument and its types.
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
Differentiate between calloc and malloc.
Is c is a middle level language?
What is cohesion and coupling in c?
Is a house a mass structure?
What is bubble sort technique in c?
What is the difference between exit() and _exit() function in c?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Can the sizeof operator be used to tell the size of an array passed to a function?