kaldin

  • Login

C Programming


1) If char=1, int=4, and float=4 bytes size, What will be the output of the program ?

#include<stdio.h>

int main()
{
    char ch = 'A';
    printf("%d, %d, %d", sizeof(ch), sizeof('A'), sizeof(3.14f));
    return 0;
}
  • A)

  • B)

  • C)

  • D)

Next
Show Answer:
Show Answer


More Question
What will be the output of the program #includestdio.hint main() int i=4, j=8; printf(d, d, d\n, ij&ji, ij&ji, i^j); return 0;
The first argument to be supplied at command-line must always be count of total arguments.
Which of the following statements are correct about the function long fun(int num) int i; long f=1; for(i=1; i=num; i++) f = f i; return f;
The library function used to find the last occurrence of a character in a string is
Which header file should you include, if you are going to develop a function, which can accept variable number of arguments