C Programming What is the correct value to return to the operating system upon the successful completion of a program? 2 Program do no return a value. -1 1 2 Program do no return a value. -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Veda Exam Exam Veda None of these Exam\0Veda Veda Exam Exam Veda None of these Exam\0Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Acts before compilation All of these Takes care of conditional compilation Takes care of macros Takes care of include files Acts before compilation All of these Takes care of conditional compilation Takes care of macros Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compiler Error None of These Can't Say will print Hello World Compiler Error None of These Can't Say ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Runtime error Syntax error 8 No output 6 Runtime error Syntax error 8 No output 6 ANSWER DOWNLOAD EXAMIANS APP