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

Define HCMOS?

Answer

High-density n-type Complimentary Metal Oxide Silicon field effect transistor.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2046
Q:

What happens to electrons in an ionic bond?

A) collision of electrons B) Sharing of electrons
C) Both A & B D) Transfer of electrons
 
Answer & Explanation Answer: D) Transfer of electrons

Explanation:

An ionic bond is formed between two molecules when transfer of valency electrons take place between them. 

Report Error

View Answer Report Error Discuss

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

2 2045
Q:

Magnesium (Mg) + Oxygen (O2) = ?

A) Mg2O B) MgO4
C) O2Mg D) MgO
 
Answer & Explanation Answer: D) MgO

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

4 2045
Q:

In the given question, a part of the sentence is printed in bold. Below the sentence, three alternatives to the bold part are given which may help improve the sentence. Choose the option that reflects the correct use of the phrase in the context of the sentence. In case the given sentence is correct, your answer is (E) i.e. No correction required.

Monu and Sonu attempted to make light their difficulties, but it was obvious that things were going badly for them.

i attempted to make their difficulties light

ii has attempted to make light their difficulties

iii attempted to make light of their difficulties

A) Only I B) Only ii
C) Only iii D) Both ii and iii
 
Answer & Explanation Answer: C) Only iii

Explanation:
The correct option is 3 because the correct phrase that should be used here is ‘make light of their difficulties.’ It means ‘trying to treat something as though it is not serious or important, when it in fact is.
Report Error

View Answer Report Error Discuss

Filed Under: English

2 2045
Q:

Glass is made of which material?

A) Calcium carbonate B) Sand
C) Silver Iodide D) Lime
 
Answer & Explanation Answer: B) Sand

Explanation:

Glass is made from heating of sand. To melt sand to make glass, the temperature needed is above 1800 deg celcius.

glass_is_made_of_which_material1562221721.jpg image

Report Error

View Answer Report Error Discuss

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

6 2045
Q:

Indian city that has been chosen by the UN for the Global Continuing City-2025 Program?

A) Hyderabad B) Delhi
C) Bangaluru D) Noida
 
Answer & Explanation Answer: D) Noida

Explanation:

Noida city of India has recently been chosen by the UN for the Global Continuing City-2025 Program.

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

The Twelfth Five-year Plan focused on inclusive growth. Which of the following were considered as challenges for inclusiveness?

1.Poverty

2.Group inequality

3.Regional imbalance

4.Unemployment

Select the correct answer using the code given below.

A) 1, 3 and 4 only B) 1, 2, 3 and 4
C) 1, 2 and 4 only D) 2 and 3 only
 
Answer & Explanation Answer: A) 1, 3 and 4 only

Explanation:
All are correct except 2, as group inequality was not a challenge.
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 2044