Online Test

:

 

C programming language was developed by  :


Which of the following is a Scalar Data type  


Primary data types are:


What is the output of the following program?

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

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={100,200,300};
    printf("%d",a[2]);
}

The maximum length of a variable in C is ___  


What is the output of the following program?

#include<stdio.h>
void main()
{
	printf("%c","TechEpi"[4]);
}

What is the output of the following program?

#include<stdio.h>
void main()
{
        float f=0.1;
        char c='a';
        double d=0.456;
        f++;
        c++;
        d++;
        printf("%f %c %f\n",f,c,d);
}

Which symbol is used as a statement terminator in C?  


What is the output of the following program?

#include<stdio.h>
void main()
{
        int arr[]={1.999999,2.999999};
        printf("%d %d %d %d ",*(arr),*(arr+0), 1[arr],0[arr+1]);
}

Match the following

  1. New line                                         i) \t
  2. Tab                                                ii) \0
  3. Single quotes                                iii) \n
  4. Null                                               iv) ‘\”

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


 C is a ___ language  


C was developed in the year ___  

 

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