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

Every SOP must have the signature of the ____ within your chain of command before it is a legal document.

Answer

SOP means Standard Operating Procedure.


A standard operating procedure is a set of step-by-step instructions compiled by an organization to help workers carry out complex routine operations. SOPs aim to achieve efficiency, quality output and uniformity of performance, while reducing miscommunication and failure to comply with industry regulations.


 


Every SOP must have the signature of the approving authority within your chain of command before it is a legal document.

Report Error

View answer Workspace Report Error Discuss

6 2047
Q:

Who is the author of "India 2020: A Vision for the New Millennium"?

A) APJ Abdul Kalam B) Shashi Tharoor
C) Narendra Modi D) Arun Shourie
 
Answer & Explanation Answer: A) APJ Abdul Kalam

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams

0 2046
Q:

Oxygen released during photosynthesis comes from

A) Sugar B) Water
C) Co2 D) Pyruvic acid
 
Answer & Explanation Answer: B) Water

Explanation:

Oxygen released during photosynthesis comes from splitting of 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 2046
Q:

Enumerators are stored by the compiler in

A) integer B) string
C) float D) any of above
 
Answer & Explanation Answer: A) integer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

3 2046
Q:

In calculating the GDP national income accountants

A) add increases in inventories or subtract decreases in inventories B) add exports, but subtract imports
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) add increases in inventories or subtract decreases in inventories

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

1 2046
Q:

When the diaphragm and external intercostal muscles contract,

A) the volume of the thorax decreases. B) the volume of the lungs decreases.
C) the volume of the thorax increases. D) the lungs shrink.
 
Answer & Explanation Answer: C) the volume of the thorax increases.

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2045
Q:

What are good sources of fat for the body?

A) Fish and eggs B) Nuts
C) Cheese D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The foods that are good source of fat and incredibly healthy to the body ar fatty fish, eggs, nuts, cheese, avocados, dark chocolates, etc...

Report Error

View Answer Report Error Discuss

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

4 2045