Questions

Q:

What is the difference between asset management and invest management?

Answer

Investment and asset are really close in meaning. Investment is when you put your money in stock, bond or other financial instruments. Whereas Asset is what you own generally reffered to land, proprietorship , factory, etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

2 2836
Q:

Write a c program for insertion sort.

Answer

#include<stdio.h>
int main(){

  int i,j,s,temp,a[20];

  printf("Enter total elements: ");
  scanf("%d",&s);

  printf("Enter %d elements: ",s);
  for(i=0;i<s;i++)
      scanf("%d",&a[i]);

  for(i=1;i<s;i++){
      temp=a[i];
      j=i-1;
      while((temp<a[j])&&(j>=0)){
      a[j+1]=a[j];
          j=j-1;
      }
      a[j+1]=temp;
  }

  printf("After sorting: ");
  for(i=0;i<s;i++)
      printf(" %d",a[i]);

  return 0;
}

Output:
Enter total elements: 5
Enter 5 elements: 3 7 9 0 2
After sorting:  0 2 3 7 9

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2836
Q:

Undefined reference to 'pthread_create'

How to Fix this error?

Answer

This is a common error while compiling C program in Linux. This error occurs when you are using pthread_create function to create threads in your programs.


To fix this problem ensure following points:
Include header file pthread.h in your program.
Add –lpthread linker flag with compilation command.
1- Include Header file
#include <stdio.h>
#include <pthread.h>
...
...
2- Compile command
gcc main.c -o main -lpthread

Report Error

View answer Workspace Report Error Discuss

0 2836
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 2835
Q:

How do you get more retailers / customers for your business? What are the steps you would take?

Answer

Applicant should answer that being in a wholesale market, he/she would plan and direct advertising and promotional activities to attract more retailer suppliers. Promotional activities like posters, contests, coupons, give-away to create extra interest in the purchase of a product or services from customers or retailers.

Report Error

View answer Workspace Report Error Discuss

Subject: Retail

1 2835
Q:

Who was apointed as ICAI ( Institute of Chartered Accountants of India) president in 2017 ?

A) Naveen N D Gupta B) Nilesh Shivji Vikamsey
C) Rajesh Kakkar D) Bhavraj Singh
 
Answer & Explanation Answer: B) Nilesh Shivji Vikamsey

Explanation:

The Institute of Chartered Accountants of India (ICAI) elected Nilesh Shivji Vikamsey as president and Naveen N D Gupta as vice-president. They have been elected for the year 2017-18. Vikamsey, who served as vice-president, has been a member of the ICAI since 1985. Gupta has been a chartered accountant for more than 20 years.

Report Error

View Answer Report Error Discuss

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

3 2833
Q:

What are the three parts of the Nucleotide?

Answer

Nucleotides are the building blocks of the DNA and RNA used as genetic material. Nucleotides also are used for cell signaling and to transport energy throughout cells.


Both deoxyribonucleic acid (DNA) and ribonucleic acid (RNA) are made up of nucleotides which consist of three parts::


1. Nitrogenous Base
2. Pentose Sugar
3. Phosphate Group.

Report Error

View answer Workspace Report Error Discuss

Subject: Biology Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

6 2833
Q:

What is the main component of biogas and natural gas?

A) Carbon dioxide B) Butane
C) Hydrogen Sulphide D) Methane
 
Answer & Explanation Answer: D) Methane

Explanation:

Methane is the main component of biogas and natural gas.

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

5 2832