I have a function which accepts, and is supposed to
initialize,a pointer, but the pointer in the caller remains
unchanged.
Answer / guest
The called function probably altered only the passed copy of
the pointer.
| Is This Answer Correct ? | 2 Yes | 0 No |
implement NAND gate logic in C code without using any bitwise operatior.
Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.
Which is better pointer or array?
#include<stdio.h> { printf("Hello"); } how compile time affects when we add additional header file <conio.h>.
What is the method to save data in stack data structure type?
When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these
What is a file descriptor in c?
1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.
WHAT IS FLOAT?
Write a program to find minimum between three no.s whithout using comparison operator.
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Explain logical errors? Compare with syntax errors.