Questions

Q:

What will be output of following c code?

#include <stdio.h>
int main()

{
    int i;
    for(i=10;i<=15;i++){
         while(i){
             do{
                 printf("%d ",1);
                 if(i>1)
                      continue;
             }while(0);
             break;
         }
    }
    return 0;
}

Answer

Output: 1 1 1 1 1 1
For loop will execute six times.


 


 


 


Note: continue keyword in do-while loop bring the program its while condition (while(0)) which is always false.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2028
Q:

What would be the output of the following program?

main()

{

  int i=2 ;

  printf ("\n%d%d", ++i, ++i );

}

Answer

Output may vary from compiler to compiler.


The order of evaluation of the arguments to a function call is unspecified.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2027
Q:

Project Communications Management - Processes

Describe the Inputs, Tools and Techniques , Outputs included in the Manage stakeholders?

Answer

I. Inputs



  • Communications management plan 

  • Organizational process assets


II. Tools and Techniques



  • Communications methods

  • Issue logs


III. Outputs



  • Resolved issues

  • Approved change requests

  • Approved corrective actions 

  • Organizational process assets (updates)

  • Project management plan (updates)

Report Error

View answer Workspace Report Error Discuss

0 2027
Q:

Queen Elizabeth I ascended the throne of England in the year

Answer

1558 AD

Report Error

View answer Workspace Report Error Discuss

Subject: World History

2 2027
Q:

The Great wall of China was built in the year

Answer

214 BC

Report Error

View answer Workspace Report Error Discuss

Subject: World History

2 2027
Q:

Non metal found in liquid state?

A) Chlorine B) Bromine
C) Fluorine D) Iodine
 
Answer & Explanation Answer: B) Bromine

Explanation:

Bromine is the Non metal found in liquid state.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

1 2027
Q:

The compound used in prickly-­heat powder to prevent excessive sweating is

A) Boric acid B) Phosphoric acid
C) Carbonic acid D) Sulphonic acid
 
Answer & Explanation Answer: A) Boric acid

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 2027
Q:

Which state govt launched farm debt-waiver scheme 'Jai Kisan Rin Mukti Yojana'?

A) Madhya Pradesh B) Telangana
C) Andhra Pradesh D) Uttar Pradesh
 
Answer & Explanation Answer: A) Madhya Pradesh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2027