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

void main() { int i=5; printf("%d",i++ + ++i); }

3 Answers  


why the range of an unsigned integer is double almost than the signed integer.

1 Answers  


what will be the position of the file marker? a: fseek(ptr,0,SEEK_SET); b: fseek(ptr,0,SEEK_CUR);

2 Answers  


int i,j; for(i=0;i<=10;i++) { j+=5; assert(i<5); }

3 Answers   Cisco, HCL,


main() { char *p; p="Hello"; printf("%c\n",*&*p); }

1 Answers  






Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

1 Answers  


Printf can be implemented by using __________ list.

3 Answers  


Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.

2 Answers  


What is wrong with the following code? int *foo() { int *s = malloc(sizeof(int)100); assert(s != NULL); return s; }

1 Answers  


respected sir, i did my MCA in 2013 when i am going to attend to an interview i was asked about my project how will i explain my project could please help me in this and my project title is "Social Networking Site For Social Responsibility"

1 Answers   Genpact, Ozdocs,


int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().

2 Answers  


how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns

0 Answers  


Categories