What is the difference between File pointer and Internal
Charecter Pointer?
Answers were Sorted based on User's Feedback
Answer / gsrinivas
file pointer stores the address of the begining record
block of the file .where the internal character pointer
stores the address of the variable of type char.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / chhaya
first what is pointer?
Pointer is nothing bt the concept of showing address of
memmory,element etc.
here, file pointer is nothing bt pointer handle the address
of file having FILE data type.
file pointer shows the address of file where file is open
by Fopen Function.
Internal Character Pointer:
pointer points to the perticular character.
it is charecter type
Is This Answer Correct ? | 1 Yes | 0 No |
How many types of sorting are there in c?
a C prog to swap 2 no.s without using variables just an array?
What are # preprocessor operator in c?
what does ‘Bus Error’ mean?
what is the different between if-else and switch statment (other than syntax)
26 Answers CTS, Oracle, Scorpos,
How does sizeof know array size?
2. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.
Can anyone help me with this please? Need to print the below values.. Thanks 1 1 2 1 2 3 1 2 3 4
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
What is static and auto variables in c?
Write a program which take a integer from user and tell whether the given variable is squar of some number or not. eg: is this number is 1,4,9,16... or not
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }