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

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph.

Leadership and

A-team-building skills deepened

B-for relationships

C-a sense of value

A) ACB B) ABC
C) CBA D) CAB
 
Answer & Explanation Answer: A) ACB

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 2086
Q:

All of the following are polysaccharides except

A) Chitin B) Lactose
C) Glycogen D) Cellulose
 
Answer & Explanation Answer: B) Lactose

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

0 2086
Q:

Humans cannot digest cellulose because they

Answer

Humans cannot digest cellulose because they are lacking with the enzymes responsible to breakdown the beta acetal linkages.

Report Error

View answer Workspace Report Error Discuss

Subject: Biology Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2086
Q:

When the Indian Space Research Organisation (ISRO) was set up?

A) 1952 B) 1959
C) 1964 D) 1969
 
Answer & Explanation Answer: D) 1969

Explanation:

The Indian Space Research Organisation is the space agency of the Government of India was set up in the year 1969, headquartered in the city of Bangalore. Its vision is to "harness space technology for national development while pursuing space science research and planetary exploration.

 

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

Adamsia (Sea anemone), Pennatula (Sea-pen) are examples of which Phylum?

A) Coelenterata B) Aschelminthes
C) Annelida D) Arthropoda
 
Answer & Explanation Answer: A) Coelenterata

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

0 2085
Q:

All this does not bode _______________ for even the loosest definitions of cosmopolitanism. A city by definition is a space, as ________________ historians and sociologists have already told us, which ideally privileges and _________________ the unexpected encounter, and calls on its citizens to be able to respond humanely even to those _______________ are not linked to us in familial, ethnic, nationalist or caste ___________________.

 

which ideally privileges and _________________ the unexpected encounter,

 

 

A) nurtured B) nurturing
C) nurtures D) nurture
 
Answer & Explanation Answer: C) nurtures

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2085
Q:

In the following questions, one part of the sentence may have an error. Find out which part of the sentence has an error and click the button corresponding to it. If the sentence is free from error, click the "No error" option.

It took her a long time(A)/to get off (B)/the death of her husband.(C)/No Error(D)

A) A B) B
C) C D) D
 
Answer & Explanation Answer: B) B

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2085