Is there something we can do in C but not in C++?
Declare variable names that are keywords in C++ but not C.
Answer Posted / lucky
#include<stdio.h>
#include<conio.h>
void main()
{
int class=0;
printf("5d",class);
getch();
}
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Is int a keyword in c?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Is null equal to 0 in sql?
What is int main () in c?
Explain enumerated types.
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Explain the use of 'auto' keyword
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Write a code to generate a series where the next element is the sum of last k terms.
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
what is the function of pragma directive in c?
Can a local variable be volatile in c?
Differentiate fundamental data types and derived data types in C.
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }