C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} None of these 6 5 Error 9 None of these 6 5 Error 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Enter a number:99 Run time error complier error Enter a number:99 Number is divisible by 5 Enter a number:99 Run time error complier error Enter a number:99 Number is divisible by 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 13, 10, 24, 50 50, 13, 24, 13 50, 13, 24, 50 13, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 50, 13, 24, 50 13, 13, 24, 13 50, 13, 11, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Execution During Editing None of these During Preprocessing During linking During Execution During Editing None of these During Preprocessing During linking ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam\0Veda Veda Exam Exam Veda None of these Exam\0Veda Veda Exam Exam Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strrchr() strnset() strstr() strchr() None of these strrchr() strnset() strstr() strchr() ANSWER DOWNLOAD EXAMIANS APP