C Programming Comment on the following?const int *ptr; Both of the above We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} Infinite Loop None of These 0 0 0 0 5 4 3 2 1 Infinite Loop None of These 0 0 0 0 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0 seconds Complier error Enter your age : xyz Your age is not valid Enter your age: xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Complier error Enter your age : xyz Your age is not valid Enter your age: xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? char float real int double char float real int double 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 World Hello Hello World None of these WorldHello World Hello Hello World None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? exam_veda 1examians examians1 _examians exam_veda 1examians examians1 _examians ANSWER DOWNLOAD EXAMIANS APP