Prodex Paper
1.x=3
function(++x)...value 4 is passed to the function
2 x=3
function(x++)...value 3 is passed to the function
3.some ques on file opening...
if(name)..(exixts)
{
...
} the file can be opened
4.if(!name)...(not exixts)
{
...
} the file cant b opened
5. a for loop ques does not print array...condition not satisfied
a[10]={10,14,18,20}
6.another for loop ques prints correctly...condition satisfied
7.main()
{
function(x,y);
}
void function(int *x,int *y)
{
.....
}
the function does not work.
8.A d();
a j;
it works well
Showing posts with label ProdEx Paper. Show all posts
Showing posts with label ProdEx Paper. Show all posts
Sunday, 20 July 2008
Technical - C & C++ Paper - 1
Prodex Paper
1.x=3
function(++x)...value 4 is passed to the function
2 x=3
function(x++)...value 3 is passed to the function
3.some ques on file opening...
if(name)..(exixts)
{
...
} the file can be opened
4.if(!name)...(not exixts)
{
...
} the file cant b opened
5. a for loop ques does not print array...condition not satisfied
a[10]={10,14,18,20}
6.another for loop ques prints correctly...condition satisfied
7.main()
{
function(x,y);
}
void function(int *x,int *y)
{
.....
}
the function does not work.
8.A d();
a j;
it works well
1.x=3
function(++x)...value 4 is passed to the function
2 x=3
function(x++)...value 3 is passed to the function
3.some ques on file opening...
if(name)..(exixts)
{
...
} the file can be opened
4.if(!name)...(not exixts)
{
...
} the file cant b opened
5. a for loop ques does not print array...condition not satisfied
a[10]={10,14,18,20}
6.another for loop ques prints correctly...condition satisfied
7.main()
{
function(x,y);
}
void function(int *x,int *y)
{
.....
}
the function does not work.
8.A d();
a j;
it works well
Subscribe to:
Posts (Atom)