What are the standard predefined macros?
No Answer is Posted For this Question
Be the First to Post Answer
#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?
How do you list a file’s date and time?
What is a function in c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
Is array name a pointer?
What is the benefit of using an enum rather than a #define constant?
What is an lvalue?
what is the diff b/w static and non static variables in C. Give some examples plz.
What is the difference between class and object in c?
Why do u use # before include in a C Progam?