write a program to copy the string using switch case?
No Answer is Posted For this Question
Be the First to Post Answer
what is the difference between c and c++?
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
differentiate built-in functions and user – defined functions.
explain what is a newline escape sequence?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
What does %c mean in c?
Expand the following LKB BKL FFG
How can I read and write comma-delimited text?
main() { printf(5+"Vidyarthi Computers"); }