C Programming What is function? Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 b = 3, c = 6 a = 4, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 4, c = 6 a = 3, c = 8 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam Veda None of these Veda Exam Exam\0Veda Exam Veda None of these Veda Exam Exam\0Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Both A and B Exam veda Examians None of these Exam_veda Both A and B Exam veda Examians None of these Exam_veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? puts() printf() scanf() gets() None of these puts() printf() scanf() gets() None of these ANSWER DOWNLOAD EXAMIANS APP