Cau u say the output....?
Answer / pranav
void main()
{
int i=1;
printf("%d %d %d",i++,++i,i++);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
int swap(int *a,int *b) { *a=*a+*b;*b=*a-*b;*a=*a-*b; } main() { int x=10,y=20; swap(&x,&y); printf("x= %d y = %d\n",x,y); }
char inputString[100] = {0}; To get string input from the keyboard which one of the following is better? 1) gets(inputString) 2) fgets(inputString, sizeof(inputString), fp)
x=2 y=3 z=2 x++ + y++; printf("%d%d" x,y);
#include <stdio.h> #define a 10 main() { #define a 50 printf("%d",a); }
Cluster head selection in Wireless Sensor Network using C programming language.
How to access command-line arguments?
Sir... please give some important coding questions asked by product companies..
main() { int i=10; void pascal f(int,int,int); f(i++,i++,i++); printf(" %d",i); } void pascal f(integer :i,integer:j,integer :k) { write(i,j,k); }
#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
prog. to produce 1 2 3 4 5 6 7 8 9 10
Write a procedure to implement highlight as a blinking operation
Is the following code legal? typedef struct a aType; struct a { int x; aType *b; };