writte a c-programm to display smill paces

Answers were Sorted based on User's Feedback



writte a c-programm to display smill paces..

Answer / anand_cool

#include<stdio.h>
void main()
{
int n=1;
for(;;)
{
printf("%c",n);
}
}

Is This Answer Correct ?    7 Yes 1 No

writte a c-programm to display smill paces..

Answer / ricky dobriyal

#incude<stdio.h>
void main()
{
int ricky_dobriyal=1;
while(1)
{
printf("%c",ricky_dobriyal);
}
}

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Code Interview Questions

C statement to copy a string without using loop and library function..

2 Answers   Persistent, TCS,


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); }

2 Answers  


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.

1 Answers   TCS,


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

4 Answers   HCL, LG,


How to count a sum, when the numbers are read from stdin and stored into a structure?

1 Answers  






write a program in c to merge two array

2 Answers  


main() { printf("%d", out); } int out=100;

3 Answers  


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

1 Answers  


C program to print magic square of order n where n > 3 and n is odd

2 Answers   Accenture,


void main() { void *v; int integer=2; int *i=&integer; v=i; printf("%d",(int*)*v); }

1 Answers   Honeywell,


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); }

1 Answers  


Categories