Write a program to show the change in position of a cursor using c
No Answer is Posted For this Question
Be the First to Post Answer
wap in c to accept a number display the total count of digit
what is the difference between entry control and exit control statement?
12 Answers Darbari Lal DAV Model School,
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
what is the difference between these initializations? Char a[]=”string”; Char *p=”literal”; Does *p++ increment p, or what it points to?
What are the various types of control structures in programming?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Explain enumerated types in c language?
Why pointers are used?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Explain what is the difference between a string and an array?
What is p in text message?
int main() { int x = (2,3,4); int y = 9,10,11; printf("%d %d",x,y); } what would be the output?