write a C program to print the program itself ?!
Answer Posted / manish
#include<stdio.h>
char*s="char*s=%c%s%c;main(){printf(s,34,s,34);}";
main()
{
printf(s,34,s,34);
}
| Is This Answer Correct ? | 25 Yes | 15 No |
Post New Answer View All Answers
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is || operator and how does it function in a program?
What does printf does?
writ a program to compare using strcmp VIVA and viva with its output.
Write a code to generate divisors of an integer?
How can I get back to the interactive keyboard if stdin is redirected?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
Why isnt any of this standardized in c?
Can you pass an entire structure to functions?
Is this program statement valid? INT = 10.50;
What is assert and when would I use it?
Explain what is the difference between functions abs() and fabs()?
Write a program to maintain student’s record. Record should
not be available to any unauthorized user. There are three
(3) categories of users. Each user has its own type. It
depends upon user’s type that which kind of operations user
can perform. Their types and options are mentioned below:
1. Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record)
2. Super Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record, Delete Single Record)
3. Guest
(Search Record [by Reg. No or Name], View All Records)
When first time program runs, it asks to create accounts.
Each user type has only 1 account (which means that there
can be maximum 3 accounts). In account creation, following
options are required:
Login Name: <6-10 alphabets long, should be unique>
Password: <6-10 alphabets long, should not display
characters when user type>
Confirm Password:
What is the use of header?
Explain what is the difference between null and nul?