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

What did you enjoy most and least in your last retailing job?

Answer

i enjoy the most learning new things like staff management,motivation,management,smart working etc. i enjoy the least free timing during my job.

Report Error

View answer Workspace Report Error Discuss

Subject: Retail

0 2063
Q:

The Pie Day is observed on?

A) March 13 B) March 14
C) March 3 D) March 4
 
Answer & Explanation Answer: B) March 14

Explanation:

In the month/day format 3/14 i.e, Mrach 14th is celebrated as Pie Day as its value is 3.14.

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2062
Q:

Project Communications Management - Processes

Describe the Inputs, Tools and Techniques , Outputs included in the Communications planning?

Answer

I. Inputs



  • Enterprise environmental factors

  • Organizational process assets

  • Project scope statement

  • Project management plan


                   - Constraints


                   - Assumptions


II. Tools and Techniques



  • Communications requirements analysis

  • Communications technology


III. Outputs



  • Communications management plan

Report Error

View answer Workspace Report Error Discuss

0 2062
Q:

Who were awarded the Maharashtra state Govt’s Shiv Chhatrapati Award?

A) Smriti Mandhana B) Sachin Pilot
C) Saina Nehwal D) Periyar
 
Answer & Explanation Answer: A) Smriti Mandhana

Explanation:
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 2062
Q:

Which planet of the solar system has the highest orbital speed?

A) Saturn B) Jupiter
C) Mercury D) Earth
 
Answer & Explanation Answer: C) Mercury

Explanation:

The Mercury, planet of the solar system has the highest orbital speed.

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

2 2062
Q:

Where is the atmosphere the most dense?

A) Stratosphere B) Mesosphere
C) Troposphere D) All of the above
 
Answer & Explanation Answer: C) Troposphere

Explanation:

Troposphere is the most densest layer and is the lowest atmospheric layer.

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

Which of the following is called the 'Land of the Golden Pagoda'?

A) Myanmar B) China
C) Japan D) North Korea
 
Answer & Explanation Answer: A) Myanmar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 2062