#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 |
What is the condition that is applied with ?: Operator?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
When a c file is executed there are many files that are automatically opened what are they files?
Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }
write a program to swap Two numbers without using temp variable.
75 Answers EMC, Focus, GreyB, HCL, Hitech, HP, Huawei, Infosys, Mannar Company, Microsoft, Miles Software, Odessa Technologies, Satyam, TCS, Wipro,
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Can a variable be both static and volatile in c?
let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................
Lists the benefits of c programming language?
Can stdout be forced to print somewhere other than the screen?
How many types of errors are there in c language? Explain