|
Question |
Rating |
View Answer |
|
What is a default TCP/IP socket assigned for SQL Server? |
|
View Answer |
|
How would you obtain the current time and difference between two times? |
|
View Answer |
|
If we want that any wildcard characters in the command line argument should be approxiemately expanded , are we required to make any special provision?if yes, which? |
|
View Answer |
|
How to convert decimal to octal and hexadecimal? |
|
View Answer |
|
What is the difference between unix and linux. |
|
View Answer |
|
What is the code to find our age,for example if my date of birth is 4/12/1986 and today date is 16/11/2008 answer should give our year,month,no of days |
|
View Answer |
|
What is :- Token , identifier , block , parameter , argument , scope of variable , Macro ? |
|
View Answer |
|
What is type integration? And what is integer type integration? |
|
View Answer |
|
Write a program to accept any number up to six digit and print in words. for ex:1234=one two three four |
|
View Answer |
|
How to find GCD of four numbers? |
|
View Answer |
|
How to find size of an datatype without using sizeof operator? |
|
View Answer |
|
What is data independence? what is transaction process application? Discuss the main charecteristics of data approach how it differs from traditional file system! |
|
View Answer |
|
Which language is not high-level language? |
|
View Answer |
|
How to write a 'C' program to read an array of 10 numbers and print the prime nums?
this is what i wrote could someone tell me where is my mistake? can i use here flag at all?
#include <stdio.h>
void main () { int arr[10], i, j, flag;
for (i=0;i<10;i++)
scanf ("%d", &arr[i]);
for (i=0;i<10;i++) { flag=1;
for (j=2;j<=(arr[i]/2); j++) { if (arr[i]%j==0) { flag=0; break;
} } }
for (i=0;i<10;i++) { if (flag=1)
printf ("%d", arr[i]); } |
|
View Answer |
|
What is the difference between object and reference? |
|
View Answer |
|
Can we have nested header files in C? |
|
View Answer |
|
void main() { int const * p=5; printf("%d",++(*p)); }
|
|
View Answer |
|
#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }
|
|
View Answer |
|
main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }
|
|
View Answer |
|
#include<conio.h> main() { int x,y=2,z,a; if(x=y%2) z=2; a=2; printf("%d %d ",z,x); }
|
|
View Answer |