Online Test

:

 

When we mention the prototype of a function?


C language is available for which of the following Operating Systems?  


Which of the following language is predecessor to C Programming Language?


What is the output of the following program?

#include<stdio.h>
void main()
{
	int a=6,b=5,c=4;
	printf("%d",(a>b>c?1:0));
}

C was developed in the year ___  


Which escape character can be used to beep from speaker in C?  


What is the valid range of numbers for int type of data?


Which header file should be included for a function which accepts variable number of arguments?


What is the output of the following program?

#include
void main()
{
        char str[7] = "TechEpi";
        char c='E';
        printf("%s", str);
}

What is the output of the following program?

#include<stdio.h>
void main()
{
	int arr[5]={1,2,3,4,5,6};
	printf("size=%d ", sizeof(arr));
	printf("arr[5]=%d",arr[5]);
}

The maximum length of a variable in C is ___  


For the following code snippet:
       char *str = “Techepi.com\0″ “Online Test”;
       The character pointer str holds reference to string:


Which of the following is not a valid variable name declaration?


In the following program where is the variable a getting defined and where it is getting declared?

#include<stdio.h>
int main()
{
    extern int a;
    printf("%d\n", a);
    return 0;
}
int a=20;

Which symbol is used as a statement terminator in C?  

 

About Us

TechEpi.com is an online learning website.We cover the latest tech news,online tutorials,blog,online test for Aptitude,C,Java,PHP to improve your knowledge.

Newsletter


Follow TechEpi on