#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


Please Help Members By Posting Answers For Below Questions

Write a program to print ASCII code for a given digit.

915


What is the -> in c?

812


What are the types of data structures in c?

855


What are control structures? What are the different types?

873


Write a progarm to find the length of string using switch case?

1872


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

869


How many types of arrays are there in c?

807


Tell me with an example the self-referential structure?

776


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

1703


What is the difference between test design and test case design?

1862


What tq means in chat?

865


What are the rules for the identifier?

918


What is the purpose of ftell?

858


Is c easier than java?

812


Do string constants represent numerical values?

1164