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

Project Integration Management - Processes

Describe the Inputs, Tools and Techniques, Outputs of Direct and Manage Project Execution Phase?

Answer

I. Inputs



  • Project management plan

  • Approved corrective actions

  • Approved preventive actions

  • Approved change requests

  • Approved defect repair

  • Validated defect repair

  • Administrative closure procedure


II. Tools and Techniques



  • Project management methodology

  • Project management information system


III. Outputs



  • Deliverables

  • Requested changes

  • Implemented change requests

  • Implemented corrective actions

  • Implemented preventive actions

  • Implemented defect repair

  • Work performance information

Report Error

View answer Workspace Report Error Discuss

0 2053
Q:

In what city would you find the world's tallest building?

Answer

Dubai

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

1 2053
Q:

PQR is right angled at Q. If cosecP = 17/15, then what is the value of sinR ?

A) 15/17 B) 11/17
C) 8/17 D) 13/17
 
Answer & Explanation Answer: C) 8/17

Explanation:
Report Error

View Answer Report Error Discuss

1 2053
Q:

How CNG is a cleaner fuel?

I. It produces oxides of Sulphur and Nitrogen in very small amounts.
II. It makes environment less polluted.
III. It emits less greenhouse gases.

A) Only I and II B) Only II and III
C) Only I and III D) All I, II and III
 
Answer & Explanation Answer: D) All I, II and III

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

3 2053
Q:

Percentage of freshwater on earth surface

A) 3% B) 4%
C) 0.3% D) 69%
 
Answer & Explanation Answer: B) 4%

Explanation:

About 71% of the earth's surface is covered with water. In that 71% only 4% of water is a fresh water.

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

An image formed by a plane mirror, that cannot be obtained on a screen is called _______.

A) Virtual image B) Real image
C) Inverted image D) Erect image
 
Answer & Explanation Answer: A) Virtual image

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 2053
Q:

One turn of the citric acid cycle produces

A) two molecules of carbon dioxide are released B) three molecules of NADH and one molecule of FADH2 are generated
C) one molecule of ATP or GTP is produced D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

One turn of the citric acid cycle produces

 

1. Two molecules of carbon dioxide are released.

2. One molecule of ATP or GTP is produced.

3. Tree molecules of NADH and one molecule of FADH2 are generated.

Report Error

View Answer Report Error Discuss

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

1 2053