main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
Answer Posted / anjana
57
59
| Is This Answer Correct ? | 11 Yes | 34 No |
Post New Answer View All Answers
#include
What is a floating point in c?
What are pragmas and what are they good for?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Explain b+ tree?
What is difference between structure and union with example?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What is type qualifiers?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What are the advantages and disadvantages of c language?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Write a C program to count the number of email on text
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?