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 2149
Q:

India's first 'Fulldome 3D Digital Theatre' inaugurated in?

A) Hyderabad B) Kolkata
C) Vizag D) Pune
 
Answer & Explanation Answer: B) Kolkata

Explanation:

India's first 'Fulldome 3D Digital Theatre' was inaugurated in Kolkata.

Report Error

View Answer Report Error Discuss

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

4 2149
Q:

Which state is the leading producer of manganese in India?

A) Maharashtra B) Karnataka
C) Odisha D) Andhra Pradesh
 
Answer & Explanation Answer: C) Odisha

Explanation:

Odisha state is the leading producer of manganese in India producing 37% of the total manganese production in the country and followed by Maharashtra with 24% and Andhra Pradesh. Karnataka and Madhya Pradesh.

Report Error

View Answer Report Error Discuss

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

9 2148
Q:

Nucleic acid hybridization is based on the fact that

A) a chromosome is composed of complementary strands B) all cells have DNA
C) the strands of DNA can be separated D) pairing between complementary bases occurs
 
Answer & Explanation Answer: D) pairing between complementary bases occurs

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2148
Q:

A sentence/a part of the sentence is underlined. Four alternatives are given to the underlined part which will improve the sentence. Choose the correctalternative and click the button corresponding to it. In case no improvement is needed, click the button corresponding to "No improvement".

His wife is as tall if not, taller than him.

A) as tall as, if not B) as taller if not
C) not as tall but as D) No improvement
 
Answer & Explanation Answer: A) as tall as, if not

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2148
Q:

In the following question, four words are given out of which one word is correctly spelt. Select the correctly spelt word.

A) poseses B) posesses
C) possesses D) posseses
 
Answer & Explanation Answer: C) possesses

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2148
Q:

In the following question, out of the given four alternatives, select the one which best expresses the meaning of the given word.

Lucrative

A) Impoverished B) Worthwhile
C) Useless D) Inconsiderable
 
Answer & Explanation Answer: B) Worthwhile

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 2148
Q:

A posted speed limit of 55 mph means

Answer

A posted speed limit of 55 mph means that we can drive at a speed of 55 miles per hour(mph) under good conditions in that area. We cannot that speed limit in that area.

Report Error

View answer Workspace Report Error Discuss

Subject: General Awareness Exam Prep: AIEEE , Bank Exams
Job Role: Analyst

0 2148