What is typeof in c?
Answer / Sudhir Singh Rajput
typeof is not a standard keyword in C. However, it might be found in some compilers as an extension. In such cases, typeof can be used to get the type of an expression at compile time.
| Is This Answer Correct ? | 0 Yes | 0 No |
any "C" function by default returns an a) int value b) float value c) char value d) a & b
For what purpose null pointer used?
what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }
Write a program to find factorial of a number using recursive function.
What are identifiers in c?
What is the purpose of ftell?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Is it possible to initialize a variable at the time it was declared?
What are the differences between Structures and Arrays?
what does ‘Bus Error’ mean?
What is the benefit of using an enum rather than a #define constant?
#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?