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

Monitoring and Controlling Process Group

What are the Project Management Processes included in Monitoring and Controlling Process Group?

Answer


    • Monitor and Control Project Work

    • Integrated Change Control

    • Scope Verification

    • Scope Control

    • Schedule Control

    • Cost Control

    • Perform Quality Control

    • Manage Project Team

    • Performance Reporting

    • Manage Stakeholders

    • Risk Monitoring and Control

    • Contract Administration


Report Error

View answer Workspace Report Error Discuss

0 2925
Q:

In which Organelle does Cellular Respiration Occur?

A) Chloroplast B) ATP and NADPH
C) Cytoplasm D) Mitochondria
 
Answer & Explanation Answer: D) Mitochondria

Explanation:

Mitochondria is the Organelle in which Cellular Respiration Occur.

Report Error

View Answer Report Error Discuss

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

9 2925
Q:

Atoms Are Composed Of

A) Electrons and Protons B) Protons and Nuclei
C) Only Electrons D) Electrons and Nuclei
 
Answer & Explanation Answer: D) Electrons and Nuclei

Explanation:

Atoms are composed of Electrons, protons and Neutrons. Protons and Neutrons together called as Nuclei.

Report Error

View Answer Report Error Discuss

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

13 2924
Q:

Which of the following commands will allow a Linux on iSeries administrator to quickly scan backup tapes for files saved via a tar command on a Linux system?

A) The Linux command mt B) The Linux command cpio
C) The OS/400 command RST option(*print) D) The OS/400 command DSPTAP option(*savrst)
 
Answer & Explanation Answer: B) The Linux command cpio

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2924
Q:

Iveco, Part of the Fiat group, holds 15 per cent stake in an Indian automobile company. The  company in the question is 

A) AShok Leyland B) Hindustan Motors
C) Tata Motors D) Eitcher
 
Answer & Explanation Answer: A) AShok Leyland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

7 2924
Q:

The book ' Redesigning the Aeroplane While Flying : Reforming Institutions' is written by

Answer

Arun Maira

Report Error

View answer Workspace Report Error Discuss

5 2923
Q:

A group of giraffe is called as

A) colony B) tower
C) fleet D) pride
 
Answer & Explanation Answer: B) tower

Explanation:

A group of giraffes is called as tower.

Whereas

A group of ants is called as colony

A group of lions is called as pride

A group of ships is called as fleet.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

1 2923