Write a program to model an exploding firecracker in the xy
plane using a particle system
No Answer is Posted For this Question
Be the First to Post Answer
main() { int x=5; for(;x!=0;x--) { printf("x=%d\n", x--); } } a. 5, 4, 3, 2,1 b. 4, 3, 2, 1, 0 c. 5, 3, 1 d. none of the above
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }
main() { main(); }
how to delete an element in an array
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.
print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!
write a c-program to find gcd using recursive functions
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
int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); }
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
main() { char *p = “ayqm”; printf(“%c”,++*(p++)); }
29 Answers IBM, TCS, UGC NET, Wipro,
how can i search an element in an array
2 Answers CTS, Microsoft, ViPrak,