Questions

Q:

Write a c program to copy a data of file to other file.

Answer

#include<stdio.h>
int main(){
  FILE *p,*q;
  char file1[20],file2[20];
  char ch;
  printf("\nEnter the source file name to be copied:");
  gets(file1);
  p=fopen(file1,"r");
  if(p==NULL){
      printf("cannot open %s",file1);
      exit(0);
  }
  printf("\nEnter the destination file name:");
  gets(file2);
  q=fopen(file2,"w");
  if(q==NULL){
      printf("cannot open %s",file2);
      exit(0);
  }
  while((ch=getc(p))!=EOF)
      putc(ch,q);
  printf("\nCOMPLETED");
  fclose(p);
  fclose(q);
 return 0;
}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2051
Q:

An ideal gas cannot be

A) liquified B) solidified
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) liquified

Explanation:

An ideal gas cannot be liquified because forces between the molecules are negligible.

Report Error

View Answer Report Error Discuss

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

2 2051
Q:

Which receptors adapt most slowly?

A) touch receptors B) smell receptor
C) pressure receptors D) nociceptors
 
Answer & Explanation Answer: D) nociceptors

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2051
Q:

Which of the following is called the 'Gateway of the Pacific'?

A) Gulf of Alaska B) Panama Canal
C) Suez Canal D) Bering Sea
 
Answer & Explanation Answer: B) Panama Canal

Explanation:

Panama Canal is called the 'Gateway of the Pacific'.

Report Error

View Answer Report Error Discuss

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

1 2051
Q:

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

A) Tranquillity B) Perseverence
C) Resplendence D) Accommodation
 
Answer & Explanation Answer: B) Perseverence

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 2051
Q:

Select the word with the correct spelling.

A) acolade B) registry
C) gaudyest D) frackture
 
Answer & Explanation Answer: B) registry

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT

1 2051
Q:

In the question below, there is a word given in bold which is followed by five options. In each of the options, a pair of words is given which is either the pair of synonyms or antonyms or synonym & antonym of the word given in bold. Choose that pair as your answer.

Histrionic

A) Melodramatic, Theatrical B) Conscientious, Diligent
C) Tenacious, Retentive D) Thrive, Tussle
 
Answer & Explanation Answer: A) Melodramatic, Theatrical

Explanation:

The meanings of the given words are as follows:
Histrionic: excessively theatrical or dramatic in character or style
Melodramatic: characteristic of melodrama, especially in being exaggerated or overemotional
Theatrical: exaggerated and excessively dramatic
Conscientious: wishing to do one's work or duty well and thoroughly
Diligent: having or showing care and conscientiousness in one's work or duties
Tenacious: tending to keep a firm hold of something; clinging or adhering closely
Retentive: (of a person's memory) effective in retaining facts and impressions
Thrive: (of a child, animal, or plant) grow or develop well or vigorously
Tussle: a vigorous struggle or scuffle, typically in order to obtain or achieve something
Pertinent: relevant or applicable to a
particular matter; apposite Appropriate: suitable or proper in the circumstances
Therefore, it can be observed that option  i.e. ‘melodramatic, theatrical’ forms a synonym- synonym pair of ‘histrionic’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT

0 2051
Q:

A sentence has been given in Active/Passive Voice. Out of the four given alternatives, select the one which best expresses the same sentence in Passive/Active Voice.

 

George Orwell wrote 1984.

 

A) 1984 is wrote by George Orwell. B) 1984 was wrote by George Orwell.
C) 1984 was written by George Orwell. D) 1984 written by George Orwell.
 
Answer & Explanation Answer: C) 1984 was written by George Orwell.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 2051