How can I make sure that my program is the only one accessing a file?
No Answer is Posted For this Question
Be the First to Post Answer
Give the rules for variable declaration?
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
Why we use void main in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it
main() { int a; a=++100; printf("%d",a); getch(); }
What is register variable in c language?
How do you write a program which produces its own source code as its output?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
a number is perfect if it is equal to the sum of its proper divisor.. 6 is perfect number coz its proper divisors are 1,2 and three.. and 1+2+3=6... a number is deficient if the sum of its proper divisor is less than the number.. sample: 8 is deficient, coz its proper divisors are 1,2 and 4, and 1+2+4=7. abundant number, if the sum of its proper divisor is greater than the number.. sample..12 is abundant coz 1+2+3+4+6=16 which is geater than 12. now write a program that prompts the user for a number, then determines whether the number is perfect,deficient and abundant..
What is the process to create increment and decrement stamen in c?
Write code for atoi(x) where x is hexadecimal string.
do ne body have any idea about the salary for the we r going to have interview. yup .. u got it right ..i m talking abt NIC.