Questions

Q:

Point out the error, if any, in the following program.

#include "stdio.h"

main()

{

      unsigned char;

       FILE *fp;

       fp = fopen ("trail", "r");

       while (( ch = getc (fp)) ! = EOF)

               printf ("%c", ch);

       fclose (fp);

}  

Answer

EOF has been defined as #define EOF -1 n the file "stdio.h" and an unsigned char ranges from 0 to 255 hence when EOF is read from the file it cannot be accommodated in ch. Solution is to declare ch as an int.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 3429
Q:

'River' Brand of MP3 player has been launched in india  by Salora International. The Brand which is competing with apple's ipod is owned by which company?

A) ReignCom B) TEAc
C) Toshiba D) Panasonic
 
Answer & Explanation Answer: A) ReignCom

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

7 3428
Q:

Hard Drive capacity is measured in

A) Newton B) GB
C) THz D) Gwallior
 
Answer & Explanation Answer: B) GB

Explanation:

Hard drive or disc is used to store the users information and its capacity is measured in Giga Bytes (GB) and Tera Bytes (TB).

Report Error

View Answer Report Error Discuss

12 3428
Q:

 Which city will host the 2018 Winter Olympics?

A) Sapporo B) Salzburg
C) Annecy D) Pyeongchang
 
Answer & Explanation Answer: D) Pyeongchang

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 3427
Q:

New Education Minister of India - 2019

A) Smriti Irani B) Harsh Vardhan
C) Prakash Javadekar D) Ramesh Pokhriyal
 
Answer & Explanation Answer: D) Ramesh Pokhriyal

Explanation:

new_education_minister_of_india_-_20191562651547.jpg image

The Ministry of Human Resource Development, formerly Ministry of Education in India
Ramesh Pokhriyal the Union Cabinet Minister of Human Resource Development in 2019. He represents the Haridwar Parliamentary constituency of Uttarakhand in the 17 Lok Sabha elections.

Prakash Javadekar was the former Human Resource Development Minister in 2018.

Report Error

View Answer Report Error Discuss

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

3 3427
Q:

List of Lok Sabha Speakers in India [1952 To 2019]

Answer

1) G.V. Mavalankar (1952-56)


 


 gv_mavalankar-first_loksabha_speaker1561356892.jpg image


 


2) M.A. Ayyangar (1956-57 & 1957-62)


 


 M.A_._Ayyangar_1561356931.jpg image


 


3) Hukam Singh (1962-67)


 


 


Sardar_Hukam_Singh1561356971.jpg image


 


4) N. Sanjiva Reddy (1967-69)


 


N-Sanjiva-Reddy1561356991.jpg image 


 


5) Gurdial Singh Dhillon (1969-1971 & 1971-1975)


 


Gurdial_Singh_Dhillon1561357076.jpg image


 


6) Bali Ram Bhagat (19976-77)


 


 baliram_bhagat1561357122.jpg image


 


7) K.S. Hegde (1977-80)


 


 k.s_.hegde_1561357144.jpg image


 


8) Balram Jakhar (1980-1984 & 1984-1989)


  


 balram-jakhar1561357217.jpg image


 


9) Rabi Ray (1989-91)


 


Rabi-Ray1561357254.jpg image 


 


10) Shivraj Patil (1991-96)


  


 shivraj_patil1561357294.jpg image


  


11) P.A. Sangma (1996-98)


 


 pa-sangma1561357325.jpg image


 


12) G.M.C. Balayogi (1998-99 & 1999-2002)


 


g.m_.c_._balayogi_1561367995.jpg image


 


 13) Manohar Joshi (2002-04)


 


 manohar_joshi1561368044.jpg image  


 


14) Somnath Chatterjee (2004-09)


 


 somnath-chatterjee1561368122.jpg image


  


15) Meira Kumar (2009-14)


 


 meira_kumar_-_first_female_speaker1561368171.jpg image 


 


16) Sumitra Mahajan (2014-19)


 


 Sumitra_Mahajan1561368209.jpg image


 


17) Om Birla (2019 -)


 


OM-BIRLA1561368373.jpg image

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Politics Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

12 3427
Q:

Granite is an example of which type of rock?

A) Sedimentary B) Igneous
C) Metamorphic D) None of the above
 
Answer & Explanation Answer: B) Igneous

Explanation:

We know that, there are three main types of rocks. They are

1. Metamorphic

2. Sedimentary (and)

3. Igneous

 

Granite_is_an_example_of1561703734.jpg image

 

Granite is an example of igneous type of rock. These type of rocks are formed through the cooling and solidification of magma and lava.

Report Error

View Answer Report Error Discuss

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

4 3427
Q:

Chemical Co- ordination in the body is brought out by

A) Blood B) Lymph
C) Enzymes D) Hormones
 
Answer & Explanation Answer: D) Hormones

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

8 3427