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

What is a device queue?

Answer

A list of processes waiting for a particular I/O device is called device queue.

Report Error

View answer Workspace Report Error Discuss

0 2021
Q:

Which is an example of an endothermic reaction?

A) combustion B) mix of CaO with water
C) coal is burnt D) photosynthesis
 
Answer & Explanation Answer: D) photosynthesis

Explanation:

A chemical reaction in which involves the absorption of heat from the environment is called a Endothermic reaction. 

Examples : Dissolving ammonium chloride in water, photosynthesis, melting ice cubes, mixing of potassium chloride with water,...

 

In the contrast, chemical reactions involving release of heat are known as exothermic reactions.

Examples : Combustion, coal is burnt, mix of CaO with water,...

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

Which is not a major function of the kidney?

A) filtering minerals from blood B) fluids balance
C) filtering wastes from blood D) None of the above
 
Answer & Explanation Answer: D) None of the above

Explanation:

Which_is_not_a_major_function_of_the_kidney1551356551.jpg image

The three main functions of Kidneys are ::

 

* Regulating and filtering minerals from blood.

* Maintaining overall fluid balance.

* Filtering waste materials from food, medications, and toxic substances.

Report Error

View Answer Report Error Discuss

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

1 2020
Q:

The Jal Amrutha scheme launched by which state?

A) Haryana B) Himachal Pradesh
C) Karnataka D) Telangana
 
Answer & Explanation Answer: C) Karnataka

Explanation:

The Jal Amrutha scheme launched by the state of Karnataka.

Report Error

View Answer Report Error Discuss

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

0 2020
Q:

A pure market economy is sometimes called pure

A) Capitalism B) Stocking
C) Sharing D) Socialism
 
Answer & Explanation Answer: A) Capitalism

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2020
Q:

Improve the bracketed part of the sentence.
The exhausted travellers seemed relieved when the train finally (came into) the station.

A) pulled in B) pulled into
C) pulled onto D) no improvement
 
Answer & Explanation Answer: A) pulled in

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2020
Q:

Improve the bracketed part of the sentence.
The workers are bent (on) getting a full months pay as bonus.

A) for B) upon
C) to D) no improvement
 
Answer & Explanation Answer: B) upon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2020