Questions

Q:

Write a c program to create dos command type.

Answer

#include
int main( int count,char * argv[] ) {
    int i;
    FILE *ptr;
    char *str;
    char ch;
    if( count == 1) {


         printf( "The syntax of the command is incorrect.\n" );
    }
    for( i=1;i<cout;i++ ){
         ptr=fopen(argv[i],"r");
         if(ptr==NULL){
             printf("The system cannot find the file specified.");
             if(count>2)
                 printf("\nError occurred while procesing : %s.\n",argv[i]);
         }
         else {
             if(count>2) {
                 printf("%s\n\n",argv[i]);
             }
             while((ch=getc(ptr))!=-1)
                 printf("%c",ch);
         }
         fclose(ptr);
    }
    return 0;
}


 


Save the above file as open.c, compile and execute the go to command mode (current working directory) and write: open xy.c (xy.c any file present in that directory)
To run the open command in all directories and drive you will have to give the path of current working directory in command mode. Write:
C:tc\bin>PATH c:\tc\bin
Now press enter key. Now your open command will work in all directory and drive.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3010
Q:

What is the biggest island in the Caribbean?

Answer

Cuba

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

1 3009
Q:

'Abadan' is well known as 

A) a major Air Force base in Iraq B) the main oil terminal in Iran
C) a pilgrim centre for Muslims and Christians as well D) an archaeological site throwing new light on the civilisation that flourished in Arabia before the advent of Aryans into india
 
Answer & Explanation Answer: B) the main oil terminal in Iran

Explanation:

Iran is an important oil-producing region in the Middle East. Abadan on the Abadan island has one of the largest refineries in the world. 

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 3009
Q:

Which one of the following is true of tRNAs?

A) tRNAs are double-stranded. B) There are four types of tRNA.
C) Each tRNA binds a particular amino acid. D) All of the above
 
Answer & Explanation Answer: C) Each tRNA binds a particular amino acid.

Explanation:

tRNA abbreviated as A transfer RNA is an adaptor molecule composed of RNA, typically 76 to 90 nucleotides in length, that serves as the physical link between the mRNA and the amino acid sequence of proteins.

Report Error

View Answer Report Error Discuss

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

2 3009
Q:

First Indian Institute of Skills will get in which city?

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

Explanation:

India's first Indian Institute of Skills will get in 3 locations viz. Mumbai, Kanpur and Ahmedabad in the country. Ministry of Skill Development and Entrepreneurship has approved the proposal to set up Indian Institute of Skills (IISs) on Not-for-profit Public Private Partnership (N-PPP) basis.

The reason behind these institutes is to promote further growth of the Indian Skills sector overall, new measures have been initiated by the Government of India to establish state of the art training institutions called Indian Institutes of Skill (IISs).

Report Error

View Answer Report Error Discuss

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

12 3009
Q:

Which of the following can be a cause of fratricide?

A) Clearance of Fires Error B) Fatal Navigation Error
C) Failures in the direct fire control plan D) All of the above
 
Answer & Explanation Answer: C) Failures in the direct fire control plan

Explanation:

Fratricide means the accidental killing of one's own forces in war.

 

Failures in the direct fire control plan can lead to be a cause of fratricide.

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

Ticks and mites are actually

A) Arachnids B) Insects
C) Myriapods D) Crustaceans
 
Answer & Explanation Answer: A) Arachnids

Explanation:
Report Error

View Answer Report Error Discuss

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

7 3008
Q:

Who become the brand ambassador of the Swast Immunised India campaign?

A) Kareena Kapoor B) Deepika Padukone
C) Ranveer Singh D) Shilpa Shetty
 
Answer & Explanation Answer: A) Kareena Kapoor

Explanation:

The brand ambassador of the Swast Immunised India campaign is Kareena Kapoor Khan.

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 3008