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

A viral species is a group of viruses that

A) same ecological niche B) same genetic information
C) both A & B D) None of the above
 
Answer & Explanation Answer: C) both A & B

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2923
Q:

India's longest rail-road bridge #Bogibeel Bridge has built over which river?

A) Brahmaputra B) Ganga
C) Yamuna D) Godavari
 
Answer & Explanation Answer: A) Brahmaputra

Explanation:

Bogibeel bridge ( 4940 m ) is a combined road and rail bridge over the Brahmaputra river in the north eastern Indian state of Assam between Dhemaji district and Dibrugarh district.

Report Error

View Answer Report Error Discuss

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

7 2923
Q:

An ecosystem consists of

A) all the plants and animals of an area B) producers, consumers, and decomposers in a particular locality
C) a living community and its environment D) carnivores and herbivores of an area
 
Answer & Explanation Answer: C) a living community and its environment

Explanation:

A living community and its environment is what an ecosystem is.

An_ecosystem_consists_of1535781515.jpg image

Report Error

View Answer Report Error Discuss

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

2 2922
Q:

In Excel, a data series is defined as what?

A) A collection of related data B) Chart
C) Cell reference D) A division of results
 
Answer & Explanation Answer: A) A collection of related data

Explanation:

A data series which is represented in rows or columns or both in a excel work sheet is a collection of the related data.

 

in_excel_a_data_series_is_defined_as_what1553927674.jpg image

 

Report Error

View Answer Report Error Discuss

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

2 2922
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 2921
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 2921