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 invoke another program from within a C program?
How can I split up a string into whitespace-separated fields?
Write a c program to demonstrate character and string constants?
how many argument we can pas in in a function
When should structures be passed by values or by references?
write a function for strtok()??
What do you mean by scope of a variable in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?
What are preprocessor directives?
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;
can v write main() { main(); } Is it true?