Correct Answer: char *pmessage = "abcde"; pmessage++;
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Programming With C Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Programming With C MCQ Questions
What would be printed on the standard output as a result of the following code snippet? main() { int i=5; char option = 5; switch(option) { case '5': printf('case : 1 \n'); break; case i: printf('case : 2 \n'); break; default: printf('case : 3 \n'); break; } return 0; }
What will be printed on the standard output as a result of the following code snippet? void main() { int arr[][2] = {1,2,3,4,5,6}; printf('%d',arr[2][1]); }
Which one is not a storage type?
What is wrong with the following function prototype statement? int func();
Which of the following declarations of structures is/are valid? 1) struct node { int count; char *word; struct node next; }Node; 2) struct node { int count; char *word; struct node *next; }Node; 3) struct node { int count; char *word; union u1 { int n1; float f1; }U; }Node;
What would be printed on the standard output as a result of the following code snippet? main( ) { char *str[ ] = { 'Manish' 'Kumar' 'Choudhary' }; printf ( '\nstring1 = %s', str[0] ); printf ( '\nstring2 = %s', str[1] ); printf ( '\nstring3 = %s', str[2] ); }
What is the return type of the following function declaration? func(char c);
What would be the output of the following code snippet? int b = 5; main() { void addup (int b); int i; for(i=1; i<=5; i++) addup(1); return 0; } void addup (int b) { static int v1; v1 = v1+b; printf('%d ', v1); }
Identify the incorrect statement.
Given the array: int num[3][4]= { {3,6,9,12}, {15,25,30,35}, {66,77,88,99} }; what would be the output of *(*(num+1)+1)+1?