print out of string in this format;
1. "rajesh"
2. \n
3. %d
Answer Posted / helen sobia
#include<stdio.h>
void main()
{clrscr();
char ch='d';
pritf("1.\t"rajesh"\n");
printf("2.\t\\n\n");
printf("3.\t%%s",ch);
getch();
}
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
What is wrong with this program statement?
What is scanf () in c?
What is the difference between #include and #include 'file' ?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
Describe explain how arrays can be passed to a user defined function
How to explain the final year project as a fresher please answer with sample project
In a switch statement, explain what will happen if a break statement is omitted?
What is the difference between single charater constant and string constant?
What is the difference between malloc() and calloc()?
Are the variables argc and argv are local to main?
What is a header file?
code for find determinent of amatrix
Explain what are the different data types in c?