#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() { char a[4]="HELLO"; printf("%s",a); }
main() { int i=5,j=6,z; printf("%d",i+++j); }
plz send me all data structure related programs
main() { int i=4,j=7; j = j || i++ && printf("YOU CAN"); printf("%d %d", i, j); }
Write a program to implement the motion of a bouncing ball using a downward gravitational force and a ground-plane friction force. Initially the ball is to be projected in to space with a given velocity vector
Design an implement of the inputs functions for event mode
main() { int i =10, j = 20; clrscr(); printf("%d, %d, ", j-- , --i); printf("%d, %d ", j++ , ++i); } a. 20, 10, 20, 10 b. 20, 9, 20, 10 c. 20, 9, 19, 10 d. 19, 9, 20, 10
main(int argc, char **argv) { printf("enter the character"); getchar(); sum(argv[1],argv[2]); } sum(num1,num2) int num1,num2; { return num1+num2; }
Write a single line c expression to delete a,b,c from aabbcc
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
main() { char *p; p="%d\n"; p++; p++; printf(p-2,300); }
main() { int i = 3; for (;i++=0;) printf(ā%dā,i); }