No. 1 Fresher Jobs Website in India.
Are you employer? Register to Post Jobs Login
Search Jobs

Aptitude - General by Mistral

Details of Aptitude - General by Mistral conducted by Mistral for job interview.
Share Us With Others
Mistral Solutions

C Section

1. What does the following program print?
int sum,count;
void main(void)
{< BR> for(count=5;sum+=--count;)
a. The pgm goes to an infinite loop b. Prints 4791010974 c. Prints 4791001974
d. Prints 5802112085 e. Not sure

2. What is the output of the following program?
void main(void)
int i;< BR> for(i=2;i