www.brightbrains.in

About Us/Home              Tests On Offer              Sample Questions              FAQ              Contact US

C
Level:-Basic
Q(1) Structure is a programmer defined type.
A   True
B   False
Q(2) ________ is a modifer.
A   Storage class
B   Size
C   Interrupt
D   All of the above
Level:-Intermediate
Q(1) Which of these is not a proper prototype?
A   int funct(char x, char y);
B   double funct(char x)
C   void funct();
D   char x();
Q(2) How would you round off a value from 1.66 to 2.0?
A   ceil(1.66)
B   floor(1.66)
C   roundup(1.66)
D   roundto(1.66)
Level:-Expert
Q(1)
#include 
    main()
    {
        char *p = 0;
        *p = 'a';
        printf("value in pointer p is %c\n", *p);
    }
A   It will print a
B   It will print 0
C   Compile time error
D   Run time error
Q(2) What is the use of strstr() function?
A   one string to another string
B   copies only the left-most n characters of the source string to targeted string
C   copies and compare two strings.compared
D   searches first string to second string contained in first string
BACK      REGISTER NOW
About Us/Home   Terms & Conditions   Cookies Policy   Privacy Policy   FAQ   Contact Us  
   © Copyright 2017 BrightBrains