main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
Answer Posted / vandana
55 93
| Is This Answer Correct ? | 1 Yes | 12 No |
Post New Answer View All Answers
if p is a string contained in a string?
What are types of preprocessor in c?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
write a program to rearrange the array such way that all even elements should come first and next come odd
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What is c definition?
Write programs for String Reversal & Palindrome check
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Explain 'bit masking'?
Can math operations be performed on a void pointer?
What are the different categories of functions in c?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is line in c preprocessor?
What does the format %10.2 mean when included in a printf statement?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.