- 
                    Function pointerWhat is function pointer in C program? 
- 
                    Memory allocations of structureWhat is the slack memory concept in allocation of structure memory? 
- 
                    View FilesHow to view files created by a C program in Windows mode? 
- 
                    
- 
                    Convert Binary Number to OctalWrite a C program to convert a binary number to its corresponding octal number. 
- 
                    
- 
                    Funtion pointerWhat is the purpose and use of function pointers? 
- 
                    Following declarations are sameconst char *s; char const *s;A) TrueB) False 
- 
                    
- 
                    > (i - (i -1))));
 }
 }
 ">Main(){ signed int bit=512, i=5; for(;i;i--) { printf("%dn", bit = (bit >> (i - (i -1)))); }}A) 128, 64, 32, 16, 8B) 256, 128, 64, 32, 16C) 512, 256, 128, 64, 32D) 64, 32, 16, 8, 4 
- 
                    How will you print % character?A) printf(“%%”)B) printf(“\%”)C) printf(“%”)D) printf(“%%”) 
- 
                    How to print all the combinations of a given integerSuppose i have given like integer 123.....then print like all the combinations 111,112,113,121......up to 333.. 
- 
                    Strip CommentsWrite a program to read a file, strip the comments and write the output to another file. 
- 
                    Find ASCII value.How to find the ASCII value of an element ? 
- 
                    Binary portabilityWhat is code/binary portability? 
- 
                    C InterruptsHow are interrupts executed in C? Where are interrupts stored in the memory? What actually occurs when interrupts are encountered? 
- 
                    main()
 {
 int i;
 clrscr();
 printf("%d", &i)+1;
 scanf("%d", i)-1;
 }
 ">Main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; }A) Runtime error. Access violationB) Compile error. Illegal syntaxC) None of the aboveD) Runtime errorExplanation: printf( ) prints address/garbage of i, scanf() dont have & sign, so scans address for i +1, -1 dont have any effect on code. 
- 
                    Address busHow will you design address bus? 
- 
                    
- 
                    
C Interview Questions

 
  
  
  
		
Ans