Questions

Q:

What will be output when you will execute following c code?

#include <stdio.h>
void main()

{
    int const SIZE = 5;
    int expr;
    double value[SIZE] = { 2.0, 4.0, 6.0, 8.0, 10.0 };
    expr=1|2|3|4;
    printf ( "%f", value[expr] );
}

A) 2.000000 B) 4.000000
C) 8.000000 D) Compilation error
 
Answer & Explanation Answer: D) Compilation error

Explanation:

Size of any array in c cannot be constantan variable.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

7 46458
Q:

Which country has been started world's first carbon capture plant in October 2017?

 

A) China B) Italy
C) Japan D) Iceland
 
Answer & Explanation Answer: D) Iceland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

15 45946
Q:

IG full form in police department?

Answer

IG stands for Inspector General of Police. DIG(Deputy Inspector General ofPolice) is a One-star rank in the police service who works under IG.


IG_Full_form_in_Police_Department1542091017.jpg image

Report Error

View answer Workspace Report Error Discuss

Subject: General Awareness Exam Prep: CAT , Bank Exams , AIEEE
Job Role: IT Trainer , Bank PO , Bank Clerk , Analyst

173 45919
Q:

Right to property was removed from the list of Fundamental Rights during the rule of

A) Indhira Gandhi Government B) Morarji Desai Government
C) Narasimha Rao Government D) Vajpayee Government
 
Answer & Explanation Answer: B) Morarji Desai Government

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

150 45868
Q:

As an object falls freely its ___________________.

 

A) kinetic energy gets converted into potential energy B) potential energy gets converted into kinetic energy
C) momentum gets converted into gravitational force D) gravitational force gets converted into momentum
 
Answer & Explanation Answer: B) potential energy gets converted into kinetic energy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

14 45768
Q:

The Indian Parliament cannot legislate on a subject of State List unless:

1. The president of India directs it to do so

2. The Rajya Sabha passes a resolution that it necessary to do so in national interest.

3. The Speaker of the Vidhan Sabha certifies that the Legislation is necessary 

4. There is national emergency

Consider the above statements, select the correct answer from the codes given below

A) 1, 2 and 3 B) 2, 3 and 4
C) 1 and 2 D) 2 and 4
 
Answer & Explanation Answer: D) 2 and 4

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

13 45697
Q:

Give the common name for the following compound

CH32CH CH2 - Br

A) Isobutyl bromide B) Methyl bromide
C) Propyl bromide D) Butyl bromide
 
Answer & Explanation Answer: A) Isobutyl bromide

Explanation:
Report Error

View Answer Report Error Discuss

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

7 45687
Q:

What will be output of following c code?

#include <stdio.h>
int main()

{
    int x=123;
    int i={
         printf("c" "++")
    };
    for(x=0;x<=i;x++){
         printf("%x ",x);
    }
    return 0;

}

Answer

Output: c++0 1 2 3

Explanation: First printf function will print: c++ and return 3 to variable i.For loop will execute three time and printf function will print 0, 1, 2 respectively.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

71 45458