Questions

Q:

How would you find the length of each string in the following Program?

main()

{

    char *str[] = { "Frogs", "Do", "Not" , "Die" , "They" , "Croak!"};

    printf ("%d%d", sizeof (str), sizeof (str[0]));

}

Answer

main()


{


   char *str[] = { "Frogs", "Do", "Not", "Die." , "They", "Croak!" };


   int i;


         for ( i = 0;i<=5;i++)


         printf ("\n%s%d", str[i], strlen( str[i]));


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2129
Q:

In the following code in which order the functions would be called?

a = ( f1 ( 23,14 ) * f2 ( 12/4) ) + f3() ;

Answer

The order may vary from compiler to compiler.


Here the multiplication will happen before the addition , but in which order the functions would be called is undefined. In an arithmetic expression the parentheses tell the compiler which operands go with which operators but do not force the compiler to evaluate everything within the parentheses first.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2129
Q:

What year was the first Oscar Awards ceremony held?

A) 1945 B) 1929
C) 1931 D) 1954
 
Answer & Explanation Answer: B) 1929

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 2129
Q:

Project Human Resource Management - Processes

Describe the Inputs, Tools and Techniques , Outputs included in the Human Resource Planning?

Answer

I. Inputs



  • Enterprise Environmental factors

  • Organizational process assets

  • Project management plan


                  - Activity resource requirements


II. Tools and Techniques



  • Organization charts and position descriptions 

  • Networking

  • Organizational theory


III. Outputs



  • Roles and responsibilities

  • Project organization charts

  • Staffing management plan

Report Error

View answer Workspace Report Error Discuss

0 2129
Q:

The country which celebrates Independence day on 15th August, apart from India, is

Answer

South Korea

Report Error

View answer Workspace Report Error Discuss

Subject: World History

0 2129
Q:

Improve the bracketed part of the sentence.
All the allegations levelled (over) the poor watchman were found to be baseless.

A) upon B) off
C) against D) no improvement
 
Answer & Explanation Answer: C) against

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2129
Q:

Microeconomics is the study of

A) Decisions of individual firms B) Decisions of individual households
C) Decisions of individual consumers D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Microeconomics is the branch or subset of economics that deals with the study of Decisions of individual firms, households and consumers.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2128
Q:

Which state launched Kalia scholarship scheme to boost education for farmers children?

A) Odisha B) Uttar Pradesh
C) Haryana D) Madhya Pradesh
 
Answer & Explanation Answer: A) Odisha

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

0 2128