writte a c-programm to display smill paces
Answers were Sorted based on User's Feedback
Answer / anand_cool
#include<stdio.h>
void main()
{
int n=1;
for(;;)
{
printf("%c",n);
}
}
Is This Answer Correct ? | 7 Yes | 1 No |
#incude<stdio.h>
void main()
{
int ricky_dobriyal=1;
while(1)
{
printf("%c",ricky_dobriyal);
}
}
Is This Answer Correct ? | 2 Yes | 1 No |
C statement to copy a string without using loop and library function..
main(){ char a[100]; a[0]='a';a[1]]='b';a[2]='c';a[4]='d'; abc(a); } abc(char a[]){ a++; printf("%c",*a); a++; printf("%c",*a); }
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
main(int argc, char *argv[]) { (main && argc) ? main(argc-1, NULL) : return 0; } a. Runtime error. b. Compile error. Illegal syntax c. Gets into Infinite loop d. None of the above
How to count a sum, when the numbers are read from stdin and stored into a structure?
write a program in c to merge two array
main() { printf("%d", out); } int out=100;
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
C program to print magic square of order n where n > 3 and n is odd
void main() { void *v; int integer=2; int *i=&integer; v=i; printf("%d",(int*)*v); }
how can i search an element in an array
2 Answers CTS, Microsoft, ViPrak,
void main() { char ch; for(ch=0;ch<=127;ch++) printf(“%c %d \n“, ch, ch); }