How can I find out the size of a file, prior to reading it in?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Is the following code legal? struct a { int x; struct a b; }

4 Answers  


Write a function to find the area of a triangle whose length of three sides is given

2 Answers  


write a c programme for add of two numbers with out use of arthematic operators

2 Answers  


What is the acronym for ansi?

0 Answers  


main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }

10 Answers   TCS, Vector,






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..

1 Answers  


Why does notstrcat(string, "!");Work?

0 Answers  


What are identifiers c?

0 Answers  


Hai why 'c' is the middle language

4 Answers  


In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 Answers  


is forign key will be unique key any table or not?

2 Answers  


write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?

3 Answers   Broadcom, TCS,


Categories