int n=1;
while(1)
{
switch(n)
{
case 1:printf("a");
n++;
continue;
case 2:printf("b");
n++;
continue;
default : printf("c");
break;
}
break;
}
What is the concatenation operator?
Is calloc better than malloc?
Write a c program to demonstrate character and string constants?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is static memory allocation?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
How does struct work in c?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
Explain how can I make sure that my program is the only one accessing a file?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
Write a C program to convert an integer into a binary string?
How the processor registers can be used in C ?