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:

Money can be transferred using mobile phones through the service called

A) NEFT B) ECS
C) IMPS D) RTGS
 
Answer & Explanation Answer: C) IMPS

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

36 2924
Q:

Study of teeth is called

A) Pedagogy B) Ornithology
C) Orthoepy D) Odontology
 
Answer & Explanation Answer: D) Odontology

Explanation:

The study or scientific study of the structure, development, and abnormalities of the teeth is called Odontology. The science that studies teeth and their surrounding tissues, especially the prevention and cure of their diseases is called Dentology.
 

Report Error

View Answer Report Error Discuss

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

5 2924
Q:

Which of the following is a Non Renewable Resource of Energy?

A) Wind Power B) Hydrogen Fuel
C) Natural Gas D) Solar Energy
 
Answer & Explanation Answer: C) Natural Gas

Explanation:

Natural Gas is a Non Renewable Resource of Energy because that does not renew itself once used, unlike the other choices. 

It is a resource that will not be naturally replenished.

Report Error

View Answer Report Error Discuss

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

3 2924
Q:

The rate of flow of electric charge is measured in

A) ampere B) coulomb
C) ampere/coulomb D) ampere-coulomb
 
Answer & Explanation Answer: A) ampere

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2924
Q:

When was the demand for a separate Telangana hit a turning point on?

Answer

The demand for a seperate Telangana hit a turning point on December 16,2010 when around 12-15 lakh attended the 'Telangana Maha Garjana' at Warangal in Andhra pradesh. The rally ste off a chain of events that culminated in the Centre agreeing to form a Telangana state.

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Politics

7 2924