void main()
{int i=2;
printf("%d%d%d",i,++i,i++);
getch();
}
Answers were Sorted based on User's Feedback
how to use enum datatype?Please explain me?
What is the size of a union variable?
WAP to accept first name,middle name & last name of a student display its initials?
f() { int a=2; f1(a++); } f1(int c) { printf("%d", c); } c=?
I have an array of 100 elements, each of which is a random integer. I want to know which of the elements: a) are multiples of 2 b) are multiples of 2 AND 5 c) have a remainder of 3 when divided by 7
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
Is int a keyword in c?
What is a void pointer in c?
Explain what does it mean when a pointer is used in an if statement?
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }