BMC Software interview question

Technical question based on C programming and SQL and very few QA questions