what is diognisis?
what are threads ? why they are called light weight processes ? what is the relation between process and threads ?
What are the advantages of union?
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
How the C program can be compiled?
Why does not use getgh(); and <conio.h> in c language.
3.write a simple program that will output your name,phone number,e-mail address,and academic major on separate lines 1.create an account and a personal directory for your work b.find out how to create a subdirectory on your system.create one called info c.you will use a text editor to type in your programs and data files.some C systems have a built in text editor;others do not.Find out what text editor you will be using and how to access it.create a text file(not a program) containing your name ,address,and telephone number on separate lines.Next,write the brand of computer you are using and the name of the text editor.Then write a paragraph that describes your past experience with computers.save this file in your info directory. d. find out how to print a file on your system .print out and turn in the file you created in (c).
regarding pointers concept
What is the difference between break and continue?
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What is the general form of a C program?
Given an array of numbers, except for one number all the others occur twice. Give an algorithm to find that number which occurs only once in the array.