What are local static variables? How can you use them?


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

Post New Answer

More C Interview Questions

You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

2 Answers   Microsoft,


Explain the use of fflush() function?

0 Answers  


What are comments and how do you insert it in a C program?

0 Answers  


What is key word in c language?

4 Answers   ABC,


How to add two numbers without using arithmetic operators?

18 Answers   College School Exams Tests, e track, Infosys, Pan Parag, Sapient, TCS,






what are the files which are automatically opened when a c file is executed?

3 Answers  


explain what are actual arguments?

0 Answers  


What should malloc(0) do?

0 Answers  


What is the difference between printf and scanf )?

0 Answers  


Why is malloc used?

1 Answers  


An array name contains base address of the array. Can we change the base address of the array?

4 Answers   NMIMS, Wipro,


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

0 Answers  


Categories