main()
{
char *p = “ayqm”;
char c;
c = ++*p++;
printf(“%c”,c);
}
Answer / susie
Answer :
b
Explanation:
There is no difference between the expression ++*(p++) and
++*p++. Parenthesis just works as a visual clue for the
reader to see which expression is first evaluated.
| Is This Answer Correct ? | 5 Yes | 1 No |
how to test pierrot divisor
char inputString[100] = {0}; To get string input from the keyboard which one of the following is better? 1) gets(inputString) 2) fgets(inputString, sizeof(inputString), fp)
Write a C function to search a number in the given list of numbers. donot use printf and scanf
How to reverse a String without using C functions ?
33 Answers Matrix, TCS, Wipro,
Write a Program that Inputs 10 Numbers in an Array and Show the Maximum Number
Write a routine that prints out a 2-D array in spiral order
find A^B using Recursive function
void main() { int c; c=printf("Hello world"); printf("\n%d",c); }
#include<stdio.h> main() { register i=5; char j[]= "hello"; printf("%s %d",j,i); }
You are given any character string. Find the number of sets of vowels that come in the order of aeiou in the given string. For eg., let the given string be DIPLOMATIC. The answer returned must be "The number of sets is 2" and "The sets are "IO and AI". Vowels that form a singleton set must be neglected. Try to post the program executable in gcc or g++ or in java.
void main() { void *v; int integer=2; int *i=&integer; v=i; printf("%d",(int*)*v); }
main( ) { char *q; int j; for (j=0; j<3; j++) scanf(“%s” ,(q+j)); for (j=0; j<3; j++) printf(“%c” ,*(q+j)); for (j=0; j<3; j++) printf(“%s” ,(q+j)); }