#define a 10
int main()
{
printf("%d..",a);
foo();
printf("%d..",a);
return 0;
}
void foo()
{
#undef a
#define a 50
}
Answers were Sorted based on User's Feedback
main() { int i=-1; +i; printf("i = %d, +i = %d \n",i,+i); }
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)
Is it possible to type a name in command line without ant quotes?
main() { extern int i; i=20; printf("%d",i); }
main() { int i=5; printf("%d",++i++); }
3) Int Matrix of certain size was given, We had few valu= es in it like this. =97=97=97=97=97=97=97=97=97=97=97 1 = | 4 | | 5 | &= nbsp; | 45 =97=97=97=97=97=97=97=97=97=97=97 &n= bsp; | 3 | 3 | 5 | = | 4 =97=97=97=97=97=97=97=97=97=97=97 34 |&nbs= p; 3 | 3 | | 12 | &= nbsp; =97=97=97=97=97=97=97=97=97=97=97 3 | &nbs= p; | 3 | 4 | = | 3 =97=97=97=97=97=97=97=97=97=97=97 3 | = ; | | | = ; 3 | =97=97=97=97=97=97=97=97=97=97=97 &= nbsp; | | 4 | = ; | 4 | 3 We w= ere supposed to move back all the spaces in it at the end. Note: = If implemented this prog using recursion, would get higher preference.
Which version do you prefer of the following two, 1) printf(ā%sā,str); // or the more curt one 2) printf(str);
plz tell me the solution.......... in c language program guess any one number from 1 to 50 and tell that number within 8 asking question in yes or no...............
program to find the roots of a quadratic equation
14 Answers College School Exams Tests, Engineering, HP, IIIT, Infosys, Rajiv Gandhi University of Knowledge Technologies RGUKT, SSC,
How to use power function under linux environment.eg : for(i=1;i<=n;i++){ pow(-1,i-1)} since it alerts undefined reference to 'pow'.
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
void ( * abc( int, void ( *def) () ) ) ();