#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / barathi
i=2
j=9
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate fundamental data types and derived data types in C.
Write a progarm to find the length of string using switch case?
What is the sizeof () a pointer?
what is the different bitween abap and abap-hr?
How can I get the current date or time of day in a c program?
What is keyword in c?
What is the advantage of an array over individual variables?
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 are 3 types of structures?
What is the size of enum in bytes?
How do you view the path?
How many header files are in c?
Why doesn't C support function overloading?
Do you know what are the properties of union in c?
How can I insert or delete a line (or record) in the middle of a file?