int a=1;
printf("%d %d %d",a++,a++,a);
need o/p in 'c' and what explanation too
void main() { int i=5; printf("%d",i++ + ++i); }
main() { int *j; { int i=10; j=&i; } printf("%d",*j); }
code of a program in c language that ask a number and print its decremented and incremented number.. sample output: input number : 3 321123
How do you sort a Linked List (singly connected) in O(n) please mail to pawan.10k@gmail.com if u can find an anser...i m desperate to knw...
6 Answers Microsoft, MSD, Oracle,
Ramesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary.
main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. Runtime error. Access violation. c. Compile error. Illegal syntax d. None of the above
main() { extern out; printf("%d", out); } int out=100;
1) int i=5; j=i++ + i++ + i++; printf("%d",j);This code gives the answer 15.But if we replace the value of the j then anser is different?why? 2)int i=5; printf("%d",i++ + i++ + i++); this givs 18.
What is the problem with the following code segment? while ((fgets(receiving array,50,file_ptr)) != EOF) ;
What is the subtle error in the following code segment? void fun(int n, int arr[]) { int *p=0; int i=0; while(i++<n) p = &arr[i]; *p = 0; }
main() { unsigned int i=65000; while(i++!=0); printf("%d",i); }
#include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s; printf("%d",s->x); printf("%s",s->name); }