© 2014 Firstsoft Technologies (P) Limited. login
Hi 'Guest'
Home SiteMap Contact Us Disclaimer
enggedu
Quick Links
Easy Studies
« NS2  Projects »


  Home Placement Paper Kit Technical Questions ► C and C++ ▼

41. How do you link a C++ program to C functions?

42. How can you tell what shell you are running on UNIX system?

43. Finding shortest path aka Dijkstra's algorithm and backtracking

44. Doing permutations and combinations in C++

45. Difference between "vector" and "array"?

46. How to write a program such that it will delete itself after exectution?

47. Can we generate a C++ source code from the binary file?

48. What are inline functions?

49. How do you write a program which produces its own source code as its output?

50. How can I find the day of the week given the date?

51. Why doesn’t C have nested functions?

52. Is there a way to compare structures automatically?

53. How are structure passing and returning implemented?

54. What is the most efficient way to count the number of bits which are set in a value?

55. How can I convert integers to binary or hexadecimal?

56. How can I call a function, given its name as a string?

57. How do I access command-line arguments?

58. What does static variable means?

59. What is a Pointer?

60. Does C have an equivalent to Pascal's with statement?

61. If an array name acts like a pointer to the base of an array, why isn't the same thing true of a structure?

62. What is a Structure?

63. .What are the differences between Structures and Arrays?

64.Write a program to set 2nd bit in a 32 bit register with memory location 0×2000?

65. In header files whether functions are declared or defined?

66. When the processor wakes up after power on, it goes to a particular memory location. What is that memory location called?

67. What is the difference between an ARRAY and a LIST?

68. What is faster : access the element in an ARRAY or in a LIST?

69. Define a constructor - what it is and how it might be called (2 methods).

70. Describe PRIVATE, PROTECTED and PUBLIC – the differences and give examples.

71. What are the differences between malloc() and. calloc()?

72.What's the difference between ++i and i++?

73. What are Macros? What are its advantages and. disadvantages?

74.Does *p++ increment p, or what it points to?

75. Difference between Pass by Value and Pass by reference?

76.What are ``near'' and ``far'' pointers?

77. What is static identifier?

78. Where is the auto variables stored?

79. How can I return multiple values from a function?

80. How can I invoke another program from within a C program?


Page 2

1 2 3 4 5 6 7 8 9 10 11 12 13
SLogix Student Projects

⇓Student Projects⇓
⇑Student Projects⇑
bottom