Find the output?
void main()
{float a=2.0;
printf("\nSize of a ::%d",sizeof(a));
printf("\nSize of 2.0 ::%d",sizeof(2.0));}
Answer Posted / manish soni tagore collage jai
here a as a float so 4bytes
and 2.0 is work as double.
when 2.0f work as a flaot so .
sizeof(2.0f)is 4 byte
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is LINKED LIST? How can you access the last element in a linked list?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is a good data structure to use for storing lines of text?
How many types of sorting are there in c?
Can include files be nested?
What is time null in c?
Combinations of fibanocci prime series
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
Ow can I insert or delete a line (or record) in the middle of a file?
What is f'n in math?
What is a dynamic array in c?
Explain how do you determine the length of a string value that was stored in a variable?
What functions are used for dynamic memory allocation in c language?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
What are the primitive data types in c?