InidBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming Java Programming
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test
Group Disucssion HR Interview Questions Technical Interview Questions Body Language

Exercise

"It takes a very long time to become young."
- Pablo Picasso

C Programming - Functions

@ : Home > C Programming > Functions > General Questions
1. 

What is the notation for following functions?

1.  int f(int a, float b)
    {
        /* Some code */
    }

2.  int f(a, b)
    int a; float b;
    {
        /* Some code */
    }

A. 1. KR Notation
2. ANSI Notation
B. 1. Pre ANSI C Notation
2. KR Notation
C.
1. ANSI Notation
2. KR Notation
D. 1. ANSI Notation
2. Pre ANSI Notation

2. 

How many times the program will print "IndiaBIX" ?

#include<stdio.h>

int main()
{
    printf("IndiaBIX");
    main();
    return 0;
}

A. Infinite timesB. 32767 times
C. 65535 timesD.
Till stack doesn't overflow

3. 

The keyword used to transfer control from a function back to the calling function is

A. switchB. goto
C. go backD.
return


© 2008-2010 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy