Online Test

:

 

Primary data types are:


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]);
}

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));
}

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


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


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


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


What is the output of the following program?

#include<stdio.h>
int main()
    {
        int a=2;
        a=a+2<<1;
        printf("%d ",a);
        a=a+(2<<1);
        printf("%d",a);
    }

Which symbol is used as a statement terminator in C?  


When we mention the prototype of a function?


 C is a ___ language  


Which of the following is an example of compounded assignment statement?  


C was developed in the year ___  


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


Which escape character can be used to begin a new line 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