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

Increased wind speed is accompanied by a reduced air _____________.

A) humidity B) pressure
C) density D) aridity
 
Answer & Explanation Answer: B) pressure

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

2 2085
Q:

Igneous rocks are classified based upon their

A) composition B) texture
C) Both A & B D) None of the above
 
Answer & Explanation Answer: C) Both A & B

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2084
Q:

In which state president rule has been imposed in 2018 December?

A) Haryana B) Delhi
C) Telangana D) Jammu & Kashmir
 
Answer & Explanation Answer: D) Jammu & Kashmir

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

The ore which is found in abundance in India is

A) fluorspar B) magnetite
C) monazite D) bauxite
 
Answer & Explanation Answer: C) monazite

Explanation:

The ore which is found in abundance in India is monazite.

Report Error

View Answer Report Error Discuss

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

1 2084
Q:

Out of the four alternatives, choose the one which can be substituted for the given words/sentences and click the button corresponding to it.

Of the highest quality

A) Productive B) Reactive
C) Superlative D) Relative
 
Answer & Explanation Answer: C) Superlative

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2084
Q:

Pick up the most effective word from the given words to fill in the blanks to make the sentence meaningfully complete.

The villagers ______ the murder of their leader by burning the police van.

A) Protested B) Avenged
C) Mourned D) Consoled
 
Answer & Explanation Answer: A) Protested

Explanation:

Protested is used because here the villagers express their feeling by making an objection to what has been done.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2083
Q:

What is multicast routing?

Answer

Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 2083