Write a routine to implement the polymarker function
No Answer is Posted For this Question
Be the First to Post Answer
main() { static char names[5][20]={"pascal","ada","cobol","fortran","perl"}; int i; char *t; t=names[3]; names[3]=names[4]; names[4]=t; for (i=0;i<=4;i++) printf("%s",names[i]); }
void main() { int i=i++,j=j++,k=k++; printf(ā%d%d%dā,i,j,k); }
int i; main(){ int t; for ( t=4;scanf("%d",&i)-t;printf("%d\n",i)) printf("%d--",t--); } // If the inputs are 0,1,2,3 find the o/p
#include<stdio.h> #include<conio.h> void main() { int a=(1,2,3,(1,2,3,4); switch(a) { printf("ans:"); case 1: printf("1");break; case 2: printf("2");break; case 3: printf("1");break; case 4: printf("4");break; printf("end"); } getch(); }
find simple interest & compund interest
Write a program using one dimensional array to assign values and then display it on the screen. Use the formula a[i]=i*10 to assign value to an element.
1 Answers Samar State University,
Display the time of the system and display the right time of the other country
void main() { static int i; while(i<=10) (i>2)?i++:i--; printf(ā%dā, i); }
Is the following code legal? typedef struct a aType; struct a { int x; aType *b; };
main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }
Write a procedure to implement highlight as a blinking operation