#include<stdio.h>
#include<conio.h>
void main()
{
char string[20];
int i=0;
printf("Enter the string.\n");
while(i<=19)
{
scanf("%c",&string[i]);
i++;
}
while(i>=0)
{
printf("%c",string[i]);
i--;
}
getch();
}
In this program it is compulsory to enter 20 characters.
Now we can write a program in which it is not necessary.
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char string[20];
int length;
printf("enter the string.\n");
gets(string);
length=strlen(string);
length--;
while(length>0)
{
printf("%c",string[length]);
length--;
}
getch();
}
A display ADAPTER is neither. The Display is an output device.
Follow the backslash with another backslash: System.out.println("\\ " \"); will display \ " \ on the screen.
std::cin:get(); I guess it's about TurboC in Windows. 1. Press Alt+F5, to see the program's output 2. Run your .EXE in a separate DOS-window (Command Prompt)
output is in the form of light,display or voice....
It is definitly dual display
There is no 'console' in C-language, but there is a standard input, a standard output and a standard error. They are pre-opened files (file-handles) you can use in your program without knowing what they actually are.
monitor is an output (display) device
When a computer generates any sort of display or result, that is called output. Printers and monitors are examples of output devices.
Display Screen
Your monitor/display system.
touchscreen
The output of an XSLT processor is a set of instructions that dictate how to display the XML data.