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 / selvapriya
hi frnds...i think my ans is 2,2
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
How can I use a preprocessorif expression to ?
Is main is a keyword in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is the use of c language in real life?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
How the c program is executed?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
Explain the difference between structs and unions in c?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
If fflush wont work, what can I use to flush input?
What is the difference between int main and void main in c?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
number of times a digit is present in a number