#include<stdio.h>
main()
{
int a=1;
int b=0;
b=++a + ++a;
printf("%d %d",a,b);
}
Answer Posted / sas
2 5
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
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:
Is c call by value?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
Why is c called c?
Describe wild pointers in c?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
What is const and volatile in c?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
State the difference between realloc and free.
Why is c still so popular?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
What is equivalent to ++i+++j?
Is array a primitive data type in c?
What is the difference between text and binary i/o?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above