Answer Posted / ketan deshmukh
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
for (i=0;i<255;i++)
printf("ASCII for %d is %c\n",i,i);
getch();
}
| Is This Answer Correct ? | 8 Yes | 7 No |
Post New Answer View All Answers
what are enumerations in C
What is the difference between near, far and huge pointers?
How we can insert comments in a c program?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
what is event driven software and what is procedural driven software?
Explain how can you determine the size of an allocated portion of memory?
Can we declare variable anywhere in c?
How do I convert a string to all upper or lower case?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What are pointers? Why are they used?
What is clrscr in c?
Hi can anyone tell what is a start up code?
Difference between Function to pointer and pointer to function
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
Dont ansi function prototypes render lint obsolete?