void main()

{

unsigned giveit=-1;

int gotit;

printf("%u ",++giveit);

printf("%u \n",gotit=--giveit);

}



void main() { unsigned giveit=-1; int gotit; printf("%u ",++giveit); pr..

Answer / susie

Answer :

0 65535

Explanation:

Is This Answer Correct ?    15 Yes 1 No

Post New Answer

More C Code Interview Questions

You are given any character string. Find the number of sets of vowels that come in the order of aeiou in the given string. For eg., let the given string be DIPLOMATIC. The answer returned must be "The number of sets is 2" and "The sets are "IO and AI". Vowels that form a singleton set must be neglected. Try to post the program executable in gcc or g++ or in java.

3 Answers  


main() { int i=5; printf("%d",++i++); }

1 Answers  


write a program to count the number the same (letter/character foreg: 's') in a given sentence.

2 Answers  


#include<stdio.h> main() { int a[2][2][2] = { {10,2,3,4}, {5,6,7,8} }; int *p,*q; p=&a[2][2][2]; *q=***a; printf("%d----%d",*p,*q); }

1 Answers  


What is data _null_? ,Explain with code when u need to use it in data step programming ?

0 Answers   Abbott,






main() { char *p; p="Hello"; printf("%c\n",*&*p); }

1 Answers  


Give a very good method to count the number of ones in a 32 bit number. (caution: looping through testing each bit is not a solution)

7 Answers   Microsoft,


prog. to produce 1 2 3 4 5 6 7 8 9 10

4 Answers   TCS,


What is "far" and "near" pointers in "c"...?

3 Answers  


What is full form of PEPSI

0 Answers  


¦void main() ¦{ ¦int i=10,j; ¦ j=i+++i+++i; ¦printf("%d",j); ¦getch(); ¦} ¦ output:-30 but in same question if we write as- ¦void main() ¦{ ¦int i=10; ¦ int j=i+++i+++i; ¦printf("%d",j); ¦getch(); ¦} ¦ output:-33 why output is changed from 30 to 33. Can any body answer...

3 Answers  


typedef struct error{int warning, error, exception;}error; main() { error g1; g1.error =1; printf("%d",g1.error); }

1 Answers  


Categories