#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / manjunath.b.a
i=5
j=12
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the method to save data in stack data structure type?
Write a program to generate the Fibinocci Series
How do you define structure?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What does the error 'Null Pointer Assignment' mean and what causes this error?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
In a switch statement, explain what will happen if a break statement is omitted?
Explain the difference between the local variable and global variable in c?
What is a char in c?
Explain the use of fflush() function?
What are disadvantages of C language.
What is #include stdio h?
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:
If errno contains a nonzero number, is there an error?
Suggesting that there can be 62 seconds in a minute?