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 / guest
2 2
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
How is null defined in c?
What is a nested loop?
How does #define work?
What are the different types of constants?
What are pointers?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Why is #define used?
What is size of union in c?
What is a constant?
Explain main function in c?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
How to declare pointer variables?
What is strcpy() function?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What is FIFO?