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 |
What are the files which are automatically opened when a C file is executed?
Is this code legal? int *ptr; ptr = (int *) 0x400;
typedef struct error{int warning, error, exception;}error; main() { error g1; g1.error =1; printf("%d",g1.error); }
#include<stdio.h> main() { const int i=4; float j; j = ++i; printf("%d %f", i,++j); }
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like.
21 Answers ABC, eBay, Goldman Sachs, Google, HUP, Microsoft, TATA,
main() { int x=5; for(;x!=0;x--) { printf("x=%d\n", x--); } } a. 5, 4, 3, 2,1 b. 4, 3, 2, 1, 0 c. 5, 3, 1 d. none of the above
#include<stdio.h> int main() { int x=2,y; y=++x*x++*++x; printf("%d",y); } Output for this program is 64. can you explain how this output is come??
main() { int i=_l_abc(10); printf("%d\n",--i); } int _l_abc(int i) { return(i++); }
Is the following code legal? void main() { typedef struct a aType; aType someVariable; struct a { int x; aType *b; }; }
All the combinations of prime numbers whose sum gives 32
write a program to Insert in a sorted list
Print an integer using only putchar. Try doing it without using extra storage.