how does the for loop work actually..suppose for the
following program how it ll work plz explain to me
for(i=5;i>=0;i--)
prinf(i--);
Answer Posted / sarvagya sharma
all the above answers are wrong i have written this program
into turbo c++ and here is what i got the output
5
4
3
2
1
0
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What does *p++ do?
What is difference between constant pointer and constant variable?
write a program to copy the string using switch case?
What are structure types in C?
What is meant by operator precedence?
Why we use conio h in c?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is the use of typedef in structure in c?
What is null pointer in c?
Why isnt there a numbered, multi-level break statement to break out
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
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 malloc() function?
a program that can input number of records and can view it again the record
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays