C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 2 1 Error -2 2 1 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? float Depends upon the type of the variable to which it is pointing. int No data type unsigned int float Depends upon the type of the variable to which it is pointing. int No data type unsigned int ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} WorldHello Hello World Hello World None of these WorldHello Hello World Hello World None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} Error three zero None of These Error three zero None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Preprocessing None of these During linking During Execution During Editing During Preprocessing None of these During linking During Execution During Editing ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..10 Error 0 10..50 10..10 Error 0 10..50 ANSWER DOWNLOAD EXAMIANS APP