write a C program to print the program itself ?!
Answer Posted / joyab
#include <stdio.h>
int main()
{
char a[] = "int main(){char a[] = %c%s%c; char b = '%c'; printf(a,b,a,b,b);}";
char b = '"';
printf(a,b,a,b,b);
}
Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is volatile variable in c with example?
How can a program be made to print the line number where an error occurs?
Write a program to reverse a given number in c language?
What does %c mean in c?
Write a program for Overriding.
When should a type cast not be used?
What standard functions are available to manipulate strings?
what are non standard function in c
What is difference between far and near pointers?
Can we change the value of static variable in c?
What is volatile, register definition in C
what is the difference between 123 and 0123 in c?
What is auto keyword in c?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if