void main()
{
unsigned giveit=-1;
int gotit;
printf("%u ",++giveit);
printf("%u \n",gotit=--giveit);
}
String copy logic in one line.
could you please send the program code for multiplying sparse matrix in c????
program to Reverse a linked list
12 Answers Aricent, Microsoft, Ness Technologies,
/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }
Develop a routine to reflect an object about an arbitrarily selected plane
how can i search an element in an array
2 Answers CTS, Microsoft, ViPrak,
#include <stdio.h> main() { char * str = "hello"; char * ptr = str; char least = 127; while (*ptr++) least = (*ptr<least ) ?*ptr :least; printf("%d",least); }
how to return a multiple value from a function?
int aaa() {printf(“Hi”);} int bbb(){printf(“hello”);} iny ccc(){printf(“bye”);} main() { int ( * ptr[3]) (); ptr[0] = aaa; ptr[1] = bbb; ptr[2] =ccc; ptr[2](); }
void main() { int i=5; printf("%d",i++ + ++i); }
Is the following code legal? typedef struct a aType; struct a { int x; aType *b; };
Give a oneline C expression to test whether a number is a power of 2?
25 Answers EA Electronic Arts, Google, Motorola,