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));}
Answers were Sorted based on User's Feedback
How can I ensure that integer arithmetic doesnt overflow?
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?
How can you dynamically allocate memory in C?
how to connect oracle in C/C++.
what are the advantage of pointer variables? write a program to count the number of vowels and consonants in a given string
to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. The packets are named A, B, C, D, E …….. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,………….].
define c
wats the diference btwen constant pointer and pointer to a constant.pls give examples.
Is int a keyword in c?
What is the difference between new and malloc functions?
what is linkage error when it occurs in c program
how to find out the inorder successor of a node in a tree??