#include<stdio.h>
#include<conio.h>
void main()
{
char ch='\356';
printf("%d",ch);
}
o/p=-18 why?plz.explain
Answers were Sorted based on User's Feedback
Answer / manish soni bca 3rd year jaipu
in place of 356 we i/p and see o/p;
i/p o/p
0-7 0-7
8-9 56-57
10-17 8-15
Is This Answer Correct ? | 0 Yes | 1 No |
disadvantages of realloc ?
What is the purpose of & in scanf?
main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }
#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?
How we can write a value to an address using macro..?
Explain what are global variables and explain how do you declare them?
If I have a char * variable pointing to the name of a function ..
How can I change the size of the dynamically allocated array?
How to calculate sum
write a c program to add two integer numbers without using arithmetic operator +
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
what is the role you expect in software industry?