How do you write a program which produces its own source code as output?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

how to implement stack operation using singly linked list

2 Answers  


Program to simulate second clock

2 Answers  


Given an array of numbers, except for one number all the others occur twice. Give an algorithm to find that number which occurs only once in the array.

6 Answers  


What should malloc() do?

0 Answers  


print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5

3 Answers   Winit,






Write a programe print the sum of series 0,1,2,.....10

7 Answers  


how many times of error occur in C

11 Answers  


Where we use clrscr in c?

0 Answers  


#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?

6 Answers   Ramco,


I didn't count the ducks that I saw in line, but I do remember that one duck was in front of two ducks, another duck behind two ducks. How many ducks did I see?

2 Answers  


what is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason

3 Answers  


How do you determine a file’s attributes?

0 Answers  


Categories