Find the output?
void main()
{float a=2.0;
printf("\nSize of a ::%d",sizeof(a));
printf("\nSize of 2.0 ::%d",sizeof(2.0));}
Answer Posted / musa
Size of a ::4
Size of 2.0 ::8
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between %d and %i?
Explain the concept and use of type void.
What is void c?
Where is c used?
Do you know the use of 'auto' keyword?
What does c value mean?
What are the parts of c program?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What does sizeof function do?
Are bit fields portable?
What is the difference between int main and void main in c?
Explain the difference between the local variable and global variable in c?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
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: