what is the output on the screen?
int n;
n=printf("my name is %d",printf("kiran %d",printf("kumar")));
printf("\n %d \n",n);
Answer Posted / raghav
hi the answer is bit scribbling
answer is
kumar kiran 5my name is 7/n12/n
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
How to draw the flowchart for structure programs?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is the general form of #line preprocessor?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What are structures and unions? State differencves between them.
Once I have used freopen, how can I get the original stdout (or stdin) back?
What does s c mean on snapchat?
Explain what is the difference between a free-standing and a hosted environment?
Explain how can I avoid the abort, retry, fail messages?
Stimulate calculator using Switch-case-default statement for two numbers
What is the difference between functions abs() and fabs()?
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
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Write the syntax and purpose of a switch statement in C.
What are the different types of errors?