#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 |
Why is c platform dependent?
int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }
WHAT IS ABSTRACT DATA TYPE
Write a c program to print the sizes and ranges of different data types in c?
how to write a program which adds two numbers without using semicolon in c
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Why pointers are used in c?
#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?
WHAT IS HIGH LEVEL LANGUAGE?
write an algorithm and a program to count the number of elements in a circularly singly linked list
What is the use of function in c?
In a header file whether functions are declared or defined?