How will you write a code for accessing the length of an array without assigning it to another variable?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to check prime number in c programming?
What is a constant and types of constants in c?
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
what is difference between overriding and overloading?
Write a program in C to convert date displayed in gregorian to julian date
What are the advantages of Macro over function?
Explain pointers in c programming?
what is the difference between : func (int list[], ...) or func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL
Concat two string with most overlapped substring has to removeĀ "abcd"+ "cdef" = "abcdef
what is the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
What library is sizeof in c?