Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
No Answer is Posted For this Question
Be the First to Post Answer
f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?
What does it mean when the linker says that _end is undefined?
What is static memory allocation?
What is the difference between a free-standing and a hosted environment?
what is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason
all c language question
What is meant by operator precedence?
What is conio h in c?
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.
what do u mean by Direct access files? then can u explain about Direct Access Files?
What is property type c?