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
Define recursion in c.
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
How can you read a directory in a C program?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
How do I read the arrow keys? What about function keys?
Explain what is a static function?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
What are the complete rules for header file searching?
What is the purpose of ftell?
Distinguish between actual and formal arguments.
Explain what is a 'locale'?
Is null a keyword in c?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?