main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
wat is the o/p and how?

Answer Posted / loganathan

2 2 2
it returns the size of the integer

Is This Answer Correct ?    9 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better malloc or calloc?

661


What is nested structure?

588


What does emoji p mean?

614


What is logical error?

610


What are the different types of pointers used in c language?

622






What is the difference between array and pointer?

575


What is the difference between struct and union in C?

582


What is 'bus error'?

656


What is dynamic memory allocation?

820


What is pragma in c?

638


Where are c variables stored in memory?

604


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

1578


What are data types in c language?

594


What is derived datatype in c?

645


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1991